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

Apply the specified `visitor` to this variant by passing the value this variant currently holds to the `visitor` object&apos;s `operator()`, and return the value (of template parameter `RET&lowbar;TYPE`) returned by the `visitor`&period; The behavior is undefined if this variant is unset&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&gt;
RET&lowbar;TYPE
applyRaw(VISITOR& visitor) const;
----


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