[#BloombergLP-bslstl-Variant_Function-05-functionImpl]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Variant_Function-05.adoc[Variant&lowbar;Function&lt;void, t&lowbar;VISITOR, t&lowbar;VARIANT, t&lowbar;INDEX&gt;]::functionImpl
:relfileprefix: ../../../
:mrdocs:

Invoke the specified `visitor` on alternative `t&lowbar;INDEX` of `variant`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
functionImpl(
    t&lowbar;VISITOR&& visitor,
    t&lowbar;VARIANT&& variant);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *visitor*
| callable to invoke on the active alternative
| *variant*
| variant whose active alternative is visited
|===


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