This visitor, when invoked as a non-modifiable function object on an instance of some template parameter TYPE, will copy-insert that instance to create an instance of the same TYPE in an uninitialized buffer specified at construction of this visitor.
Declared in <bdlb_variant.h>
struct Variant_CopyConstructVisitor;
| Name | Description |
|---|---|
Variant_CopyConstructVisitor [constructor] | Create a copy-construct visitor targeting the specified buffer using the specified allocator. |
operator() | Copy-construct a TYPE into the buffer supplied at construction. |
| Name | Description |
|---|---|
d_allocator_p | Allocator used for construction. |
d_buffer_p | Destination buffer for copy construction. |