[#BloombergLP-bdlb-Variant6-2constructor-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Variant6.adoc[Variant6]::Variant6
:relfileprefix: ../../../
:mrdocs:

Create a variant object having the type and value of the specified `original` object by moving the contents of `original` to the newly&hyphen;created object&period; The allocator associated with `original` (if any) is propagated for use in the newly&hyphen;created object&period; `original` is left in a valid but unspecified state&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Variant6(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;Variant6&gt;] original);
----


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