[#BloombergLP-bdlb-Variant14-2constructor-002]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Variant14.adoc[Variant14]::Variant14
:relfileprefix: ../../../
:mrdocs:

Create a variant object having the type and value of the specified `original` variant&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Variant14(
    xref:BloombergLP/bdlb/Variant14.adoc[Variant14] const& original,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----


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