471 {
473
476
479 } else {
480
483
484
487 }
488
489
493 }
494 }
495 }
496
498 }
bool test(uint32_t pos) const noexcept
Tests whether the bit at position pos is set.
BitsetInlined & set(uint32_t pos, bool value=true)
Sets or clears the bit at position pos.
uint32_t size() const noexcept
Size of the Bitset (number of bits).
void resize(uint32_t new_size)
Resizes the Bitset if needed.
Variant< fixed_bitset, bitset_dynamic > _storage
A Bitset implementation with inline storage that can grow if needed.