[#BloombergLP-bdlb-VariantImp_NoAllocatorBase-2constructor-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase.adoc[VariantImp_NoAllocatorBase]::VariantImp_NoAllocatorBase :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<bdlb_variant.h>` Create a `VariantImp_NoAllocatorBase` with the specified `type` (allocator argument is ignored). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/2constructor-07.adoc[VariantImp_NoAllocatorBase]( int type, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]*); ---- [.small]#xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/2constructor-07.adoc[_» more..._]# Create a `VariantImp_NoAllocatorBase` with the specified `type` indicating the type of the object that the variant will initially hold. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/2constructor-0d.adoc[VariantImp_NoAllocatorBase]( int type, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]*, xref:bsl/true_type.adoc[bsl::true_type]); ---- [.small]#xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/2constructor-0d.adoc[_» more..._]# Create a `VariantImp_NoAllocatorBase` holding a copy of the specified `value` of the (template parameter) `TYPE`, with the specified `type` indicating the type of the object that the variant will initially hold. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/2constructor-05.adoc[VariantImp_NoAllocatorBase]( int type, TYPE const&, xref:bsl/false_type.adoc[bsl::false_type]); ---- [.small]#xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/2constructor-05.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#