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 442 of file vector.h.

442 {
443 ensure_size(mSize + 1);
444 if (mSize < mCapacity) {
445 mArray[mSize] = value;
446 ++mSize;
447 }
448 }
size_t mCapacity
Definition vector.h:309
void ensure_size(size_t n)
Definition vector.h:362
fl::scoped_array< T > mArray
Definition vector.h:307
size_t mSize
Definition vector.h:310

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

+ Here is the caller graph for this function: