[#BloombergLP-bsls-Util-addressOf-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/Util.adoc[Util]::addressOf
:relfileprefix: ../../../
:mrdocs:

Return the address of the specified function `fn`&period;

== Synopsis

Declared in `&lt;bsls&lowbar;util&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class RESULT,
    class ARG&gt;
static
RESULT(*
addressOf(RESULT(& fn)(ARG)))(ARG);
----


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