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 | Description |
|---|---|
operator BloombergLP::bslmf::NestedTraitDeclaration<Optional_Base, IsBitwiseCopyable, BloombergLP::bslmf::IsBitwiseCopyable<t_TYPE>::value> | Nested trait declaration for bslmf::IsBitwiseCopyable. |
operator BloombergLP::bslmf::NestedTraitDeclaration<Optional_Base, IsBitwiseMoveable, BloombergLP::bslmf::IsBitwiseMoveable<t_TYPE>::value> | Nested trait declaration for bslmf::IsBitwiseMoveable. |
| Name | Description |
|---|---|
AllocType | Dummy allocator type used when t_TYPE is not allocator-aware. |
| Name | Description |
|---|---|
Optional_Base [constructor] | Constructors |
assignOrEmplace | Return a reference to the contained value without checking engagement. |
dereferenceRaw | Return a reference to the contained value without checking engagement. |