FastLED 3.9.15
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

◆ operator|=()

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

Bitwise OR.

Definition at line 188 of file bitset.h.

188 {
189 for (uint32_t i = 0; i < block_count; ++i) {
190 _blocks[i] |= other._blocks[i];
191 }
192 return *this;
193 }
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: