FastLED 3.9.15
Loading...
Searching...
No Matches

◆ push_back()

template<typename T, size_t N>
void fl::FixedVector< T, N >::push_back ( const T & value)
inline

Definition at line 142 of file vector.h.

142 {
143 if (current_size < N) {
144 void *mem = &memory()[current_size];
145 new (mem) T(value);
146 ++current_size;
147 }
148 }
size_t current_size
Definition vector.h:302
T * memory()
Definition vector.h:74

Referenced by fl::FixedVector< PairKV, N >::assign(), fl::FixedVector< PairKV, N >::assign_array(), fl::FixedVector< PairKV, N >::resize(), and fl::LineSimplifierExact< NumberT >::simplify().

+ Here is the caller graph for this function: