[#BloombergLP-bslstl-Variant_Base-2constructor-0b9]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Variant_Base.adoc[Variant&lowbar;Base]::Variant&lowbar;Base
:relfileprefix: ../../../
:mrdocs:

Create a `Variant&lowbar;Base` object holding the same alternative (if any) held by the specified `original`&period; If this `Variant&lowbar;Base` is allocator&hyphen;aware, the allocator of `original` is used to supply memory&period; If the `original` object is not valueless by exception, the contained value is move&hyphen;constructed from the contained value of `original`&period; All alternatives shall be move constructible&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Variant&lowbar;Base(xref:BloombergLP/bslstl/Variant_Base.adoc[Variant&lowbar;Base]&& original);
----


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