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

Synopsis

Declared in <bslstl_variant.h>

template<class t_VARIANT>
class Variant_CopyAssignVisitor;

Member Functions

Name

Description

Variant_CopyAssignVisitor [constructor]

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

operator()

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

Created with MrDocs