This component-private class is a visitor that is used to implement the copy constructor for bsl::variant.
Declared in <bslstl_variant.h>
template<class t_VARIANT_BASE>
class Variant_CopyConstructVisitor;
| 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 (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. |