This component‐private class is a visitor that is used to implement the move constructor for bsl::variant.

Synopsis

Declared in <bslstl_variant.h>

template<class t_VARIANT_BASE>
class Variant_MoveConstructVisitor;

Member Functions

Name

Description

Variant_MoveConstructVisitor [constructor]

Create a Variant_MoveConstructVisitor object that, when invoked, will move‐construct an alternative in the specified variant.

operator()

Move‐construct the alternative at index t_INDEX from other.

Created with MrDocs