[#BloombergLP-bslfmt-basic_format_arg-05-visit]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/basic_format_arg-05.adoc[basic&lowbar;format&lowbar;arg&lt;basic&lowbar;format&lowbar;context&lt;t&lowbar;OUT, t&lowbar;CHAR&gt;&gt;]::visit
:relfileprefix: ../../../
:mrdocs:

Invoke the specified `visitor` functor on the value contained by this object, providing that functor non&hyphen;modifiable access to that value&period; `visitor` must be a `variant`&hyphen;style functor that is able to visit all supported types listed in the &lcub;DESCRIPTION&rcub;&period;

== Synopsis

Declared in `&lt;bslfmt&lowbar;format&lowbar;arg&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;VISITOR&gt;
decltype(auto)
visit(t&lowbar;VISITOR&& visitor);
----


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