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

◆ operator=() [2/2]

bitset_dynamic & fl::bitset_dynamic::operator= ( const bitset_dynamic & other)
inline

Definition at line 59 of file bitset_dynamic.h.

59 {
60 if (this != &other) {
61 if (other._size > 0) {
62 resize(other._size);
63 memcpy(_blocks, other._blocks,
64 _block_count * sizeof(block_type));
65 } else {
66 clear();
67 }
68 }
69 return *this;
70 }
FL_DISABLE_WARNING_POP void clear()
FL_DISABLE_WARNING_POP FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_NULL_DEREFERENCE void resize(fl::u32 new_size)
block_type * _blocks

References bitset_dynamic(), _block_count, _blocks, _size, clear(), and resize().

+ Here is the call graph for this function: