|
nkr
A C++20 library with a custom meta-programming language.
|
None types are used to represent the concept of nothing. More...
None types are used to represent the concept of nothing.
C++ actually comes with a couple of built in none types, one calledvoid to represent the lack of a type, which is aliased as nkr::none::type_t, and two std::nullptr_t which represents the lack of a pointer, which is aliased as nkr::none::pointer_t. nkr comes with more none types, in particular the nkr::none::value_t which represents the lack of a value.