[#BloombergLP-bslstl-Variant_CopyConstructVisitor-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Variant_CopyConstructVisitor.adoc[Variant&lowbar;CopyConstructVisitor]::Variant&lowbar;CopyConstructVisitor
:relfileprefix: ../../../
:mrdocs:

Create a `Variant&lowbar;CopyConstructVisitor` object that, when invoked, will copy&hyphen;construct an alternative in the specified `variant`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
Variant&lowbar;CopyConstructVisitor(t&lowbar;VARIANT&lowbar;BASE* variant);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *variant*
| `Variant&lowbar;Base` object to construct into
|===


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