[#BloombergLP-bslstl-Variant_MoveConstructVisitor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::Variant_MoveConstructVisitor :relfileprefix: ../../ :mrdocs: This component‐private class is a visitor that is used to implement the move constructor for `bsl::variant`. == Synopsis Declared in `<bslstl_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_VARIANT_BASE> class Variant_MoveConstructVisitor; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/Variant_MoveConstructVisitor/2constructor.adoc[`Variant_MoveConstructVisitor`] [.small]#[constructor]# | Create a `Variant_MoveConstructVisitor` object that, when invoked, will move‐construct an alternative in the specified `variant`. | xref:BloombergLP/bslstl/Variant_MoveConstructVisitor/operator_call.adoc[`operator()`] | Move‐construct the alternative at index (template parameter) `t_INDEX` from the specified `other` (i.e. the alternative that is being visited). Note that the allocator specified on construction of `*d_variant_p` will be used. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#