|
cgv
|
Class type that emulates the primitive bool data type by storing its value as a 32-bit integer. More...
#include <bool32_t.h>
Public Member Functions | |
| bool32_t (const bool32_t &)=default | |
| bool32_t & | operator= (const bool32_t &)=default |
| bool32_t (bool32_t &&) noexcept=default | |
| bool32_t & | operator= (bool32_t &&) noexcept=default |
| bool32_t (const bool &other) | |
| bool32_t & | operator= (const bool &other) |
| bool32_t (bool &&other) noexcept | |
| bool32_t & | operator= (bool &&other) noexcept |
| operator bool () const | |
Class type that emulates the primitive bool data type by storing its value as a 32-bit integer.
Allows representing boolean values with a size and alignment of 4 bytes. Is implicitly convertible to bool to enable default operator behaviour. Typical uses include using this class instead of the raw bool type to avoiding the specialization and packing of std::vector and to allow alternative struct packing.
Definition at line 14 of file bool32_t.h.
|
inline |
Definition at line 23 of file bool32_t.h.
|
inlinenoexcept |
Definition at line 32 of file bool32_t.h.
|
inline |
Definition at line 41 of file bool32_t.h.
|
inlinenoexcept |
Definition at line 35 of file bool32_t.h.
|
inline |
Definition at line 26 of file bool32_t.h.