BloombergLP::bslstl::Variant_AllocatorBase<true>

This specialization is used when the variant is allocator-aware.

Synopsis

Declared in <bslstl_variant.h>

template<>
struct Variant_AllocatorBase<true>;

Type Aliases

NameDescription
MoveUtil Utility for movable reference operations.
allocator_type Allocator type used by an allocator-aware variant.

Member Functions

NameDescription
Variant_AllocatorBase [constructor]Constructors
mechanism Return the mechanism of the stored allocator.

Data Members

NameDescription
d_allocator Allocator used to supply memory for the alternative objects.