mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-10 00:34:32 +00:00
srb2::StaticVec: define value_type
Lets std::back_inserter work on srb2::StaticVec
This commit is contained in:
parent
56694b2740
commit
4d6b15eca9
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ class StaticVec
|
|||
size_t size_ = 0;
|
||||
|
||||
public:
|
||||
using value_type = T;
|
||||
|
||||
constexpr StaticVec() {}
|
||||
|
||||
StaticVec(const StaticVec& rhs)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue