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

Synopsis

Declared in <bslstl_variant.h>

template<class t_VARIANT_BASE>
class Variant_CopyConstructVisitor;

Member Functions

Name

Description

Variant_CopyConstructVisitor [constructor]

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

operator()

Copy‐construct the alternative at index t_INDEX from other.

Created with MrDocs