This component-private struct keeps track of the allocator for a bsl::variant object.
Declared in <bslstl_variant.h>
template<bool t_AA>
struct Variant_AllocatorBase;
The primary template is used when the variant is not allocator-aware (because it has no allocator-aware alternatives).
| Name | Description |
|---|---|
mechanism | Return a null pointer. |
| Name | Description |
|---|---|
Variant_AllocatorBase<true> | This specialization is used when the variant is allocator-aware. |
| Name | Description |
|---|---|
Variant_Base | Define the data representation and special member functions of bsl::variant. |