BloombergLP::bdlb::Variant_MoveAssignVisitor

This visitor, when invoked as a non-modifiable function object on an instance of some template parameter TYPE, will move-assign that instance to the instance of the same TYPE held in a buffer specified at construction of this visitor.

Synopsis

Declared in <bdlb_variant.h>

struct Variant_MoveAssignVisitor;

Member Functions

NameDescription
Variant_MoveAssignVisitor [constructor]Create a move-assign visitor targeting the specified buffer.
operator() Move-assign a TYPE value into the buffer supplied at construction.

Data Members

NameDescription
d_buffer_p Destination buffer for move assignment.