[#bsl-variant-2constructor-07a]
= xref:bsl.adoc[bsl]::xref:bsl/variant.adoc[variant]::variant
:relfileprefix: ../../
:mrdocs:

Create a `variant` object holding the same alternative (if any) held by the specified `original`&period; If this `variant` is allocator&hyphen;aware, the allocator of `original` is used to supply memory&period; If `original` is not valueless by exception, the contained value is move&hyphen;constructed from the contained value of `original`&period; This constructor participates in overload resolution only if all alternatives are move constructible&period; For simplicity of implementation, this method differs from the standard in the following ways&colon; &ast; conditional triviality is not implemented &ast; `constexpr` is not implemented &ast; `noexcept` specification is not implemented

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
variant(xref:bsl/variant.adoc[variant]&& original) = default;
----


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