[#BloombergLP-bdlb-VariantImp_AllocatorBase-2constructor-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/VariantImp_AllocatorBase.adoc[VariantImp_AllocatorBase]::VariantImp_AllocatorBase :relfileprefix: ../../../ :mrdocs: Create a `VariantImp_AllocatorBase` with the specified `type` and `basicAllocator`. == Synopsis Declared in `<bdlb_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- VariantImp_AllocatorBase( int type, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator); ---- == Parameters [cols="1,4"] |=== | Name| Description | *type* | type index of the initially held alternative | *basicAllocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#