![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
Empty class type used to indicate that arene::base::optional does not contain a value.
More...
Public Member Functions | |
| constexpr | nullopt_t (detail::unspecified_t) noexcept |
constructor for nullopt_t | |
Empty class type used to indicate that arene::base::optional does not contain a value.
arene::base::nullopt_t is a non-aggregate type, has no default constructor, and no initializer-list constructor.
|
inlineexplicitconstexprnoexcept |
constructor for nullopt_t
op = {}; and op = nullopt; as the syntax for indicating that an arene::base::optional does not contain a value. op = {}; syntax. arene::base::nullopt_t was erroneously default constructible. arene::base::nullopt for an instance of a arene::base::nullopt_t rather than constructing an instance of arene::base::nullopt_t directly.