BloombergLP::bslstl::Variant_AllocatorBase

This component-private struct keeps track of the allocator for a bsl::variant object.

Synopsis

Declared in <bslstl_variant.h>

template<bool t_AA>
struct Variant_AllocatorBase;

Description

The primary template is used when the variant is not allocator-aware (because it has no allocator-aware alternatives).

Member Functions

NameDescription
mechanism Return a null pointer.

Specializations

NameDescription
Variant_AllocatorBase<true> This specialization is used when the variant is allocator-aware.

Derived Classes

NameDescription
Variant_Base Define the data representation and special member functions of bsl::variant.