BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslstl::Variant_AllocatorBase< true > Struct Reference

#include <bslstl_variant.h>

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
 Return the mechanism of the stored allocator.
 

Public Attributes

allocator_type d_allocator
 

Member Typedef Documentation

◆ allocator_type

typedef bsl::allocator<char> bslstl::Variant_AllocatorBase< true >::allocator_type

◆ MoveUtil

typedef BloombergLP::bslmf::MovableRefUtil bslstl::Variant_AllocatorBase< true >::MoveUtil

Constructor & Destructor Documentation

◆ Variant_AllocatorBase() [1/3]

bslstl::Variant_AllocatorBase< true >::Variant_AllocatorBase ( )
inline

Create a Variant_AllocatorBase object that holds the currently installed default allocator.

◆ Variant_AllocatorBase() [2/3]

bslstl::Variant_AllocatorBase< true >::Variant_AllocatorBase ( const Variant_AllocatorBase< true > &  original)
inline

Create a Variant_AllocatorBase object that holds a copy of the allocator held by the specified original.

◆ Variant_AllocatorBase() [3/3]

bslstl::Variant_AllocatorBase< true >::Variant_AllocatorBase ( allocator_type  allocator)
inline

Create a Variant_AllocatorBase object that holds a copy of the specified allocator.

Member Function Documentation

◆ mechanism()

BloombergLP::bslma::Allocator * bslstl::Variant_AllocatorBase< true >::mechanism ( ) const
inline

Member Data Documentation

◆ d_allocator


The documentation for this struct was generated from the following file: