[#BloombergLP-bslstl-Function_InvokerUtil-invokerForFunc-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Function_InvokerUtil.adoc[Function&lowbar;InvokerUtil]::invokerForFunc
:relfileprefix: ../../../
:mrdocs:

`invokerForFunc` overloads

== Synopses

Declared in `&lt;bslstl&lowbar;function&lowbar;invokerutil&period;h&gt;`

Return a null pointer&period; Note that template argument `PROTOTYPE` must be supplied excplicitly, as there is no way to deduce it from the function arguments&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class PROTOTYPE&gt;
static
xref:BloombergLP/bslstl/Function_InvokerUtil/GenericInvoker.adoc[bslstl::Function&lowbar;InvokerUtil::GenericInvoker]*
xref:BloombergLP/bslstl/Function_InvokerUtil/invokerForFunc-06.adoc[invokerForFunc](xref:bsl/nullptr_t-08.adoc[bsl::nullptr&lowbar;t] const& unused);
----

[.small]#xref:BloombergLP/bslstl/Function_InvokerUtil/invokerForFunc-06.adoc[_» more&period;&period;&period;_]#

Return the invoker for `FUNC`, or null if `f` is a null callable&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class PROTOTYPE,
    class FUNC&gt;
static
xref:BloombergLP/bslstl/Function_InvokerUtil/GenericInvoker.adoc[bslstl::Function&lowbar;InvokerUtil::GenericInvoker]*
xref:BloombergLP/bslstl/Function_InvokerUtil/invokerForFunc-08.adoc[invokerForFunc](FUNC const& f);
----

[.small]#xref:BloombergLP/bslstl/Function_InvokerUtil/invokerForFunc-08.adoc[_» more&period;&period;&period;_]#

== Return Value

* null pointer
* invoker for `FUNC`, or null if `f` is a null callable

== Parameters

[cols="1,4"]
|===
| Name| Description
| *unused*
| null pointer literal selecting a null invoker
| *f*
| callable object whose invoker is requested
|===


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