[#BloombergLP-bdlb-VariantImp-apply-0fc]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/VariantImp.adoc[VariantImp]::apply
:relfileprefix: ../../../
:mrdocs:

Same as the preceding overload, but for a `const` visitor&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class RET&lowbar;TYPE,
    class VISITOR,
    class TYPE&gt;
RET&lowbar;TYPE
apply(
    VISITOR const& visitor,
    TYPE const& defaultValue);
----


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