[#absl-FunctionRef-0e3] = xref:absl.adoc[absl]::FunctionRef :relfileprefix: ../ :mrdocs: FunctionRef == Synopsis Declared in `<absl/functional/function_ref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename T> class FunctionRef; ---- == Description Dummy class declaration to allow the partial specialization based on function types below. == Specializations [cols="1,4"] |=== | Name| Description | xref:absl/FunctionRef-081.adoc[`FunctionRef<R const(Args...)>`] | FunctionRef |=== == Deduction Guides [cols="1,4"] |=== | Name| Description | xref:absl/FunctionRef-0c.adoc[`FunctionRef<F>`] | Deduces a `FunctionRef` wrapping a function pointer. | xref:absl/FunctionRef-0e6.adoc[`FunctionRef<std::remove_pointer_t<decltype(Func)>>`] | Deduces a `FunctionRef` wrapping a compile‐time known free function. | xref:absl/FunctionRef-087.adoc[`FunctionRef<M>`] | Deduces a `FunctionRef` wrapping a compile‐time known member pointer. | xref:absl/FunctionRef-07ee.adoc[`FunctionRef<R(Args...)>`] | Deduces a `FunctionRef` wrapping a compile‐time known free function bound to an object argument. | xref:absl/FunctionRef-07e7.adoc[`FunctionRef<std::invoke_result_t<decltype(Func), U&>()>`] | Deduces a `FunctionRef` wrapping a compile‐time known member function. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#