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

Create a default&hyphen;construct visitor that uses the specified `allocator` to supply memory&period;

== Synopsis

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

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *allocator*
| allocator used to supply memory
|===


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