501 {
503
506
509 } else {
510
513
514
517 }
518
519
522 }
523 }
524
526 }
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.