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

◆ push_back() [2/2]

template<typename T, typename Allocator = fl::allocator<T>>
void fl::HeapVector< T, Allocator >::push_back ( T && value)
inline

Definition at line 561 of file vector.h.

561 {
562 ensure_size(mSize + 1);
563 if (mSize < mCapacity) {
564 mAlloc.construct(&mArray[mSize], fl::move(value));
565 ++mSize;
566 }
567 }
void ensure_size(fl::size n)
Definition vector.h:431