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

Name

Description

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

Name

Description

d_buffer_p

Destination buffer for move assignment.

Created with MrDocs