[#BloombergLP-bdlb-VariantImp_NoAllocatorBase-2constructor-05] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase.adoc[VariantImp_NoAllocatorBase]::VariantImp_NoAllocatorBase :relfileprefix: ../../../ :mrdocs: Create a non‐allocator base holding a copy of `value`. == Synopsis Declared in `<bdlb_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> VariantImp_NoAllocatorBase( int type, TYPE const& value, xref:bsl/false_type.adoc[bsl::false_type] tag); ---- == Description 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. == Parameters [cols="1,4"] |=== | Name| Description | *type* | type index of the initially held alternative | *value* | value assigned to or stored in this variant | *tag* | unused overload‐resolution tag |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#