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

◆ flip() [1/2]

template<uint32_t N = 256>
BitsetInlined & fl::BitsetInlined< N >::flip ( )
inlinenoexcept

Flips all bits.

Definition at line 373 of file bitset.h.

373 {
374 if (_storage.template is<fixed_bitset>()) {
375 _storage.template ptr<fixed_bitset>()->flip();
376 } else {
377 _storage.template ptr<bitset_dynamic>()->flip();
378 }
379 return *this;
380 }
BitsetInlined & flip(uint32_t pos)
Flips (toggles) the bit at position pos.
Definition bitset.h:354
A Bitset implementation with inline storage that can grow if needed.
Definition bitset.h:225