[#BloombergLP-bdlb-VariantImp_NoAllocatorBase-2constructor-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase.adoc[VariantImp&lowbar;NoAllocatorBase]::VariantImp&lowbar;NoAllocatorBase
:relfileprefix: ../../../
:mrdocs:

Create a `VariantImp&lowbar;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&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;variant&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
VariantImp&lowbar;NoAllocatorBase(
    int type,
    TYPE const&,
    xref:bsl/false_type.adoc[bsl::false&lowbar;type]);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
