|
BDE 4.39.x Production Release
|
#include <bslstl_variant.h>
This specialization is used when the variant is allocator-aware.
Public Types | |
| typedef BloombergLP::bslmf::MovableRefUtil | MoveUtil |
| typedef bsl::allocator< char > | allocator_type |
Public Member Functions | |
| Variant_AllocatorBase () | |
| Variant_AllocatorBase (const Variant_AllocatorBase &original) | |
| Variant_AllocatorBase (allocator_type allocator) | |
| BloombergLP::bslma::Allocator * | mechanism () const |
Public Attributes | |
| allocator_type | d_allocator |
| typedef bsl::allocator<char> bslstl::Variant_AllocatorBase< true >::allocator_type |
| typedef BloombergLP::bslmf::MovableRefUtil bslstl::Variant_AllocatorBase< true >::MoveUtil |
|
inline |
Create a Variant_AllocatorBase object that holds the currently installed default allocator.
|
inline |
Create a Variant_AllocatorBase object that holds a copy of the allocator held by the specified original.
|
inline |
Create a Variant_AllocatorBase object that holds a copy of the specified allocator.
|
inline |
Return the mechanism of the stored allocator.
| allocator_type bslstl::Variant_AllocatorBase< true >::d_allocator |