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

Synopsis

Declared in <bslstl_variant.h>

template<>
struct Variant_AllocatorBase<true>;

Type Aliases

Name

Description

MoveUtil

Utility for movable reference operations.

allocator_type

Allocator type used by an allocator‐aware variant.

Member Functions

Name

Description

Variant_AllocatorBase [constructor]

Constructors

mechanism

Return the mechanism of the stored allocator.

Data Members

Name

Description

d_allocator

Allocator used to supply memory for the alternative objects.

Created with MrDocs