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

Constructors

== Synopses

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

Create a `VariantImp&lowbar;NoAllocatorBase` with the specified `type` (allocator argument is ignored)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/2constructor-07.adoc[VariantImp&lowbar;NoAllocatorBase](
    int type,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]*);
----

[.small]#xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/2constructor-07.adoc[_» more&period;&period;&period;_]#

Create a `VariantImp&lowbar;NoAllocatorBase` with the specified `type` indicating the type of the object that the variant will initially hold&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/2constructor-0d.adoc[VariantImp&lowbar;NoAllocatorBase](
    int type,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]*,
    xref:bsl/true_type.adoc[bsl::true&lowbar;type]);
----

[.small]#xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/2constructor-0d.adoc[_» more&period;&period;&period;_]#

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;


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

[.small]#xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase/2constructor-05.adoc[_» more&period;&period;&period;_]#


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