Move-construct the alternative at index t_INDEX from other.
Declared in <bslstl_variant.h>
template<
size_t t_INDEX,
class t_TYPE>
void
operator()(
bsl::in_place_index_t<t_INDEX> indexTag,
t_TYPE& other) const;
Move-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.
| Name | Description |
|---|---|
| indexTag | tag encoding the index of the alternative being visited |
| other | alternative value to move-construct from |