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

Synopsis

Declared in <bslstl_variant.h>

template<class t_VARIANT>
class Variant_MoveAssignVisitor;

Member Functions

Name

Description

Variant_MoveAssignVisitor [constructor]

Create a Variant_MoveAssignVisitor object that, when invoked, will move‐assign to the active alternative of the specified variant.

operator()

Move‐assign to the active alternative of *d_variant_p from value.

Created with MrDocs