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

◆ reserve_impl()

void fl::vector_basic::reserve_impl ( fl::size n)

Definition at line 97 of file basic_vector.cpp.hpp.

97 {
98 if (n > mCapacity) {
99 grow_to(n);
100 }
101}
void grow_to(fl::size new_capacity) FL_NOEXCEPT
Grow to new_capacity. Moves existing elements.

References grow_to(), and mCapacity.

Referenced by fl::vector< fl::i16 >::vector(), fl::vector< fl::i16 >::vector(), fl::vector< fl::i16 >::vector(), fl::vector_psram< T >::vector_psram(), fl::VectorN< T, INLINED_SIZE >::VectorN(), fl::vector< fl::i16 >::assign(), copy_from(), fl::vector< fl::i16 >::ensure_size(), move_from(), and fl::vector< fl::i16 >::reserve().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: