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

◆ operator&=()

template<uint32_t N>
BitsetFixed & fl::BitsetFixed< N >::operator&= ( const BitsetFixed< N > & other)
inlinenoexcept

Bitwise AND.

Definition at line 181 of file bitset.h.

181 {
182 for (uint32_t i = 0; i < block_count; ++i) {
183 _blocks[i] &= other._blocks[i];
184 }
185 return *this;
186 }
static constexpr uint32_t block_count
Definition bitset.h:24
block_type _blocks[block_count]
Definition bitset.h:29
A simple fixed-size Bitset implementation similar to std::Bitset.
Definition bitset.h:21

References BitsetFixed(), _blocks, and block_count.

+ Here is the call graph for this function: