class
#include <bn_bitset.h>
reference Proxy to allow to interact with individual bits of a ibitset.
Constructors, destructors, conversion operators
- operator bool() const constexpr
- Returns the value of the referenced bit.
Public functions
- auto operator~() const -> bool constexpr
- Returns the inverse of the referenced bit.
- auto operator=(bool value) -> reference& constexpr
- Assigns a value to the referenced bit.
- auto operator=(const reference& other) -> reference& constexpr
- Assigns a value to the referenced bit.
- auto flip() -> reference& constexpr
- Flips the referenced bit.