[#BloombergLP-bdlb-Variant_CopyConstructVisitor-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Variant_CopyConstructVisitor.adoc[Variant&lowbar;CopyConstructVisitor]::Variant&lowbar;CopyConstructVisitor
:relfileprefix: ../../../
:mrdocs:

Create a copy&hyphen;construct visitor targeting the specified `buffer` using the specified `allocator`&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;variant&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Variant&lowbar;CopyConstructVisitor(
    void* buffer,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
