FunctionRef
Declared in <absl/functional/function_ref.h>
template<typename T>
class FunctionRef;
Dummy class declaration to allow the partial specialization based on function types below.
| Name | Description |
|---|---|
FunctionRef<R const(Args...)> | FunctionRef |
| Name | Description |
|---|---|
FunctionRef<F> | Deduces a FunctionRef wrapping a function pointer. |
FunctionRef<std::remove_pointer_t<decltype(Func)>> | Deduces a FunctionRef wrapping a compile-time known free function. |
FunctionRef<M> | Deduces a FunctionRef wrapping a compile-time known member pointer. |
FunctionRef<R(Args...)> | Deduces a FunctionRef wrapping a compile-time known free function bound to an object argument. |
FunctionRef<std::invoke_result_t<decltype(Func), U&>()> | Deduces a FunctionRef wrapping a compile-time known member function. |