BDE 4.14.0 Production release
|
#include <bslstl_variant.h>
Public Member Functions | |
Variant_CopyConstructVisitor (t_VARIANT_BASE *variant) | |
template<size_t t_INDEX, class t_TYPE > | |
void | operator() (bsl::in_place_index_t< t_INDEX >, const t_TYPE &other) const |
This component-private class is a visitor that is used to implement the copy constructor for bsl::variant
.
See bslstl_variant
|
inlineexplicit |
|
inline |
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.