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

◆ clear_impl()

void fl::vector_basic::clear_impl ( )

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

201 {
202 if (mArray && mSize > 0) {
203 if (mOps) {
204 mOps->destroy_n(mArray, mSize);
205 }
206 // For trivial types, nothing to destroy
207 }
208 mSize = 0;
209}
const vector_element_ops * mOps

References fl::FL_NO_EXCEPT, mArray, mOps, and mSize.

Referenced by ~vector_basic(), fl::vector< fl::i16 >::clear(), copy_from(), and move_assign().

+ Here is the caller graph for this function: