VCCC  2024.05
VisualCamp Common C++ library
optional

Implementation of STL header <optional> More...

Detailed Description

C++14 implementation of std::optional.
See optional for more information

Modules

 make_optional
 
 operator<=>
 
 swap(optional)
 specializes the std::swap algorithm
 

Classes

class  bad_optional_access
 exception indicating checked access to an optional that doesn't contain a value More...
 
struct  hash< vccc::optional< T > >
 hash support for std::optional More...
 
struct  nullopt_t
 indicator of optional type with uninitialized state More...
 
class  optional< T >
 a wrapper that may or may not hold an object More...
 

Variables

constexpr nullopt_t nullopt {0}
 

Variable Documentation

◆ nullopt

constexpr nullopt_t nullopt {0}
constexpr