API Documentation
|
A convenience class used with Buffers or Vectors of bools for referencing or acting on a single bit. More...
#include <BitReference.hpp>
Public Member Functions | |
constexpr | BitReference (BitFlag &flag, uint01 bit) |
constexpr | BitReference (const BitReference &reference) |
constexpr bool | get () const |
constexpr | operator bool () const |
constexpr bool | operator! () const |
constexpr bool | operator!= (const bool &b) const |
constexpr BitReference & | operator= (const BitReference &b) |
constexpr BitReference & | operator= (const bool &b) |
constexpr bool | operator== (const bool &b) const |
constexpr BitReference & | operator|= (const BitReference &b) |
constexpr BitReference & | operator|= (const bool &b) |
constexpr void | set (const bool &value) |
A convenience class used with Buffers or Vectors of bools for referencing or acting on a single bit.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinenodiscardconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |