This visitor, when invoked as a non‐modifiable function object on an instance of some template parameter TYPE, will copy‐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_CopyAssignVisitor;

Member Functions

Name

Description

Variant_CopyAssignVisitor [constructor]

Create a copy‐assign visitor targeting the specified buffer.

operator()

Copy‐assign a TYPE value into the buffer supplied at construction.

Data Members

Name

Description

d_buffer_p

Destination buffer for copy assignment.

Created with MrDocs