FastLED 3.10.8
Loading...
Searching...
No Matches

◆ pop_back_impl()

void fl::vector_basic::pop_back_impl ( )

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

190 {
191 if (mSize == 0) return;
192 --mSize;
193 if (mOps) {
194 mOps->destroy_n(element_ptr(mSize), 1);
195 }
196 // For trivial types, nothing to destroy
197}
const vector_element_ops * mOps
void * element_ptr(fl::size index) FL_NO_EXCEPT
Pointer to element at index (byte arithmetic).

References element_ptr(), fl::FL_NO_EXCEPT, mOps, and mSize.

Referenced by fl::vector< fl::i16 >::pop_back().

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