[#BloombergLP-bdlb-VariantImp_NoAllocatorBase] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::VariantImp_NoAllocatorBase :relfileprefix: ../../ :mrdocs: This class is component‐private. Do not use. This class contains the `typedef`s and data members of the `Variant` class, and serves as the base class for the variant when none of the types held by the variant has the `bslma::UsesBslmaAllocator` type trait. The goal is to optimize the size of the variant to avoid holding an unnecessary allocator pointer. == Synopsis Declared in `<bdlb_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPES> class VariantImp_NoAllocatorBase; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type1.adoc[`Type1`] | `Type1` is the 1st type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type10.adoc[`Type10`] | `Type10` is the 10th type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type11.adoc[`Type11`] | `Type11` is the 11th type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type12.adoc[`Type12`] | `Type12` is the 12th type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type13.adoc[`Type13`] | `Type13` is the 13th type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type14.adoc[`Type14`] | `Type14` is the 14th type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type15.adoc[`Type15`] | `Type15` is the 15th type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type16.adoc[`Type16`] | `Type16` is the 16th type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type17.adoc[`Type17`] | `Type17` is the 17th type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type18.adoc[`Type18`] | `Type18` is the 18th type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type19.adoc[`Type19`] | `Type19` is the 19th type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type2.adoc[`Type2`] | `Type2` is the 2nd type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type20.adoc[`Type20`] | `TypeN` is an alias for the `N`th type in the `TypeList` of this variant implementation. If less than `N` template arguments were given to the `Variant` type, then `TypeN` is `bslmf::Nil`. `Type20` is the 20th type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type3.adoc[`Type3`] | `Type3` is the 3rd type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type4.adoc[`Type4`] | `Type4` is the 4th type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type5.adoc[`Type5`] | `Type5` is the 5th type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type6.adoc[`Type6`] | `Type6` is the 6th type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type7.adoc[`Type7`] | `Type7` is the 7th type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type8.adoc[`Type8`] | `Type8` is the 8th type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/Type9.adoc[`Type9`] | `Type9` is the 9th type in the variant's type list, or `bslmf::Nil` if absent. | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/TypeList.adoc[`TypeList`] | `TypeList` is an alias for the `bslmf::TypeList` type serving as the template parameter to this variant implementation. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/2constructor-01.adoc[`VariantImp_NoAllocatorBase`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/getAllocator.adoc[`getAllocator`] | Return 0. Note that this object does not hold an allocator pointer. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/bdlb/operator_eq-0101.adoc[BloombergLP::bdlb::operator==]` | Grant the equality comparison operator access to this class's private members. | `xref:BloombergLP/bdlb/VariantImp.adoc[BloombergLP::bdlb::VariantImp]` | This class provides the implementation of `Variant` (except for the creators) given a list of template parameter `TYPES`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#