|
ORIGINAL
|
A placeholder type representing the absence of a value. More...
#include <types.h>

Public Member Functions | |
| consteval | none ()=default |
| Default constructor (consteval) | |
| constexpr | ~none ()=default |
| Default destructor (constexpr) | |
| consteval | operator bool () const |
| Bool conversion operator. | |
| consteval bool | operator! () const |
| Logical NOT operator. | |
A placeholder type representing the absence of a value.
This class provides consteval operations and can be converted to bool, always returning false. Useful for template metaprogramming and representing empty states.
|
explicit |
Bool conversion operator.
| consteval bool original::none::operator! | ( | ) | const |
Logical NOT operator.