BloombergLP::bslstl::Variant_MoveConstructVisitor

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

Synopsis

Declared in <bslstl_variant.h>

template<class t_VARIANT_BASE>
class Variant_MoveConstructVisitor;

Member Functions

NameDescription
Variant_MoveConstructVisitor [constructor]Create a Variant_MoveConstructVisitor object that, when invoked, will move-construct an alternative in the specified variant.
operator() 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.