[#absl-FunctionRef-081-2constructor-00]
= xref:absl.adoc[absl]::xref:absl/FunctionRef-081.adoc[FunctionRef&lt;R const(Args&period;&period;&period;)&gt;]::FunctionRef
:relfileprefix: ../../
:mrdocs:

== Synopsis

Declared in `&lt;absl&sol;functional&sol;function&lowbar;ref&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    auto F,
    typename Obj,
    typename = xref:absl/FunctionRef-081/EnableIfCompatible.adoc[EnableIfCompatible&lt;decltype(F), Obj*&gt;]&gt;
FunctionRef(
    xref:absl/nontype_t.adoc[nontype&lowbar;t&lt;F&gt;],
    Obj* obj) noexcept;
----


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