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

◆ push_back()

template<typename T>
void fl::HeapVector< T >::push_back ( const T & value)
inline

Definition at line 324 of file vector.h.

324 {
325 ensure_size(mSize + 1);
326 if (mSize < mCapacity) {
327 mArray[mSize] = value;
328 ++mSize;
329 }
330 }
size_t mCapacity
Definition vector.h:220
void ensure_size(size_t n)
Definition vector.h:258
fl::scoped_array< T > mArray
Definition vector.h:218
size_t mSize
Definition vector.h:221

Referenced by fl::HeapVector< DrawItem >::assign(), fl::HeapVector< DrawItem >::insert(), and makeScreenMap().

+ Here is the caller graph for this function: