Specialization of Optional_Base for value_type that is not allocator-aware when std::optional is available.
Declared in <bslstl_optional.h>
template<class t_TYPE>
class Optional_Base<t_TYPE, false>
: public std::optional<t_TYPE>
| Name | Description |
|---|---|
std::optional<t_TYPE> | Class template for optional values. |
| Name |
|---|
AllocType |
| Name | Description |
|---|---|
Optional_Base [constructor] | Constructors |
assignOrEmplace | If *this holds an object, assign to that object the value of the specified rhs, converted to t_TYPE. Otherwise, construct a held object from rhs, converted to t_TYPE. |
dereferenceRaw | dereferenceRaw overloads |