This component‐private class template implements the functionality of bsl::optional. The primary template is instantiated when TYPE is allocator‐aware, and holds the allocator that is used to create the stored object.
Synopsis
Declared in <bslstl_optional.h>
template<
class t_TYPE,
bool t_USES_BSLMA_ALLOC = BloombergLP::bslma::UsesBslmaAllocator<t_TYPE>::value>
class Optional_Base;
Type Aliases
Name |
Description |
This |
|
|
Member Functions
Name |
Description |
Assignment operators |
|
|
|
Return allocator used for construction of |
|
Return |
|
Dereference operators |
|
Member access operators |
|
Reset this object to the default constructed state (i.e., to a disengaged state). |
|
Efficiently exchange the value of this object with the value of the specified |
|
|
|
|
|
Nested trait declaration for |
|
Nested trait declaration for |
|
|
Nested trait declaration for |
|
Nested trait declaration for |
Return |
Protected Type Aliases
Name |
Description |
This |
Protected Member Functions
Name |
Description |
|
Constructors |
If |
|
|
Specializations
Name |
Description |
Specialization of |