[#bsl-function-00]
= xref:bsl.adoc[bsl]::xref:bsl/function-0a.adoc[function&lt;PROTOTYPE&gt;]
:relfileprefix: ../
:mrdocs:

Deduce the template parameter `PROTOTYPE` from the signature of the `operator()` of the functor supplied to the constructor of `function`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class FP,
    class PROTOTYPE = FunctionDeductionHelper::StripSignature&lt;decltype(&amp;FP&colon;&colon;operator)&gt;::Sig&gt;
xref:bsl/function-0a.adoc[function&lt;PROTOTYPE&gt;](FP) -> xref:bsl/function-0a.adoc[function&lt;PROTOTYPE&gt;];
----


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