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

◆ InlinedVector() [4/4]

template<typename T, size_t INLINED_SIZE>
fl::InlinedVector< T, INLINED_SIZE >::InlinedVector ( size_t size)
inline

Definition at line 828 of file vector.h.

828 : mUsingHeap(false) {
829 if (size > INLINED_SIZE) {
830 mHeap.resize(size);
831 mUsingHeap = true;
832 } else {
833 mFixed.resize(size);
834 }
835 }
HeapVector< T > mHeap
Definition vector.h:1071
FixedVector< T, INLINED_SIZE > mFixed
Definition vector.h:1070
size_t size() const
Definition vector.h:912

References mFixed, mHeap, mUsingHeap, and size().

+ Here is the call graph for this function: