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

◆ reserve()

template<typename T, typename Allocator = fl::allocator<T>>
void fl::HeapVector< T, Allocator >::reserve ( size_t n)
inline

Definition at line 400 of file vector.h.

400 {
401 if (n > mCapacity) {
402 ensure_size(n);
403 }
404 }
void ensure_size(size_t n)
Definition vector.h:373

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

+ Here is the caller graph for this function: