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

◆ clear_impl()

void fl::vector_basic::clear_impl ( )

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

188 {
189 if (mArray && mSize > 0) {
190 if (mOps) {
191 mOps->destroy_n(mArray, mSize);
192 }
193 // For trivial types, nothing to destroy
194 }
195 mSize = 0;
196}
const vector_element_ops * mOps

References 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: