ORIGINAL
|
Type-safe optional value container. More...
Go to the source code of this file.
Classes | |
class | original::alternative< TYPE > |
A type-safe container that may or may not contain a value. More... | |
class | original::alternative< void > |
Namespaces | |
namespace | original |
Main namespace for the project Original. | |
namespace | std |
Standard namespace extensions for original::alternative. | |
Functions | |
template<typename TYPE > | |
void | std::swap (original::alternative< TYPE > &lhs, original::alternative< TYPE > &rhs) noexcept |
Specialization of std::swap for original::alternative. | |
Type-safe optional value container.
Provides an alternative<TYPE> class that can either contain a value of type 'TYPE' or be in an empty state (represented by original::none from types.h). This implementation provides:
Key features: