BDE 4.14.0 Production release
|
#include <bslstl_variant.h>
Public Member Functions | |
Variant_MoveConstructVisitor (t_VARIANT_BASE *variant) | |
template<size_t t_INDEX, class t_TYPE > | |
void | operator() (bsl::in_place_index_t< t_INDEX >, t_TYPE &other) const |
This component-private class is a visitor that is used to implement the move constructor for bsl::variant
.
See bslstl_variant
|
inlineexplicit |
Create a Variant_MoveConstructVisitor
object that, when invoked, will move-construct an alternative in the specified variant
.
|
inline |
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.