MCPcopy Create free account
hub / github.com/FastLED/FastLED / destroy

Method destroy

src/fl/stl/allocator.h:249–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247 // Destroy an object at the specified address
248 template <typename U>
249 void destroy(U* p) FL_NOEXCEPT {
250 if (p == nullptr) return;
251 p->~U();
252 }
253};
254
255// DEPRECATED: allocator_realloc is now REDUNDANT

Callers 9

pop_back_implMethod · 0.45
erase_range_implMethod · 0.45
insert_copy_implMethod · 0.45
insert_move_implMethod · 0.45
resize_implMethod · 0.45
resize_value_implMethod · 0.45
swap_implMethod · 0.45
destroyTreeMethod · 0.45
eraseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected