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

Create a `Variant&lowbar;MoveAssignVisitor` object that, when invoked, will move&hyphen;assign to the active alternative of the specified `variant`&period;

== Synopsis

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

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *variant*
| variant object whose active alternative is assigned to
|===


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