[#BloombergLP-bdlb-Variant_CopyConstructVisitor-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Variant_CopyConstructVisitor.adoc[Variant_CopyConstructVisitor]::Variant_CopyConstructVisitor :relfileprefix: ../../../ :mrdocs: Create a copy‐construct visitor targeting the specified `buffer` using the specified `allocator`. == Synopsis Declared in `<bdlb_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- Variant_CopyConstructVisitor( void* buffer, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#