mn::basic_fbit Class Reference
#include <mn_fast_type.hpp>
Public Member Functions | |
basic_fbit () | |
basic_fbit (bool b) | |
basic_fbit (const basic_fbit &b) | |
basic_fbit & | operator= (const basic_fbit &other) |
bool | operator== (const basic_fbit &other) |
bool | operator!= (const basic_fbit &other) |
operator bool () | |
void | flip () |
Public Attributes | |
union { | |
unsigned char | bit: 1 |
}; | |
Detailed Description
This class is a fast bit for all fast_types
Constructor & Destructor Documentation
◆ basic_fbit() [1/3]
|
inline |
Ctor - set the bit to 0
◆ basic_fbit() [2/3]
|
inline |
Ctor - set the bit
- Parameters
-
b The state for this bit
◆ basic_fbit() [3/3]
|
inline |
copyble ctor
Member Function Documentation
◆ flip()
|
inline |
Flip the bit from 0 to 1 or from 0 to 1
◆ operator bool()
|
inline |
◆ operator!=()
|
inline |
◆ operator=()
|
inline |
◆ operator==()
|
inline |
Member Data Documentation
◆
union { ... } |
The fast bit
The documentation for this class was generated from the following file: