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

◆ reset() [1/2]

FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_NULL_DEREFERENCE void fl::bitset_dynamic::reset ( )
inline

Definition at line 171 of file bitset_dynamic.h.

171 {
172 if (_blocks && _block_count > 0) {
173 fl::memset(_blocks.get(), 0, _block_count * sizeof(block_type));
174 }
175 }
fl::unique_ptr< block_type[]> _blocks
void * memset(void *s, int c, size_t n) FL_NOEXCEPT

References _block_count, _blocks, FL_NOEXCEPT, and fl::memset().

Referenced by assign(), and set().

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