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.
Declared in <bdlb_variant.h>
struct Variant_CopyAssignVisitor;
| 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. |
| Name | Description |
|---|---|
d_buffer_p | Destination buffer for copy assignment. |