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 50 of file bitset_dynamic.h.

50 {
51 if (this != &other) {
52 if (other._size > 0) {
53 resize(other._size);
54 memcpy(_blocks, other._blocks,
55 _block_count * sizeof(block_type));
56 } else {
57 clear();
58 }
59 }
60 return *this;
61 }
void resize(uint32_t new_size)
block_type * _blocks

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

+ Here is the call graph for this function: