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

◆ pop_back_impl()

void fl::vector_basic::pop_back_impl ( )

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

177 {
178 if (mSize == 0) return;
179 --mSize;
180 if (mOps) {
181 mOps->destroy(element_ptr(mSize));
182 }
183 // For trivial types, nothing to destroy
184}
const vector_element_ops * mOps
void * element_ptr(fl::size index) FL_NOEXCEPT
Pointer to element at index (byte arithmetic).

References element_ptr(), 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: