template< class... >
class function_ref; // not defined
class function_ref<R(Args...)>;
template< class R, class... Args >
class function_ref<R(Args...) noexcept>;
template< class R, class... Args >
class function_ref<R(Args...) const>;
template< class R, class... Args >
Class template std::function_ref
is a non-owning function wrapper. std::function_ref
objects can store and invoke reference to Callable target - functions, lambda expressions, bind expressions, or other function objects, but not pointers to member functions and pointers to member objects. std::nontype can be used to construct std::function_ref
by passing function pointers, pointers to member functions, and pointers to member objects.
std::function_ref
s supports every possible combination of cv-qualifiers (excluding volatile), and noexcept-specifiers provided in its template parameter.
Every specialization of std::function_ref
is a TriviallyCopyable type that satisfies copyable
.
BoundEntityType
(private) unspecified TriviallyCopyable type that satisfies copyable
and is capable of storing a pointer to object value or pointer to function value
FunctionPointerType
(private) R(*)(BoundEntityType
, Args&&...) noexcept(noex )
where noex is true if noexcept is present in function signature as part of the template parameter of std::function_ref
, false otherwise
(exposition-only member type*)
BoundEntityType
bound-entity
a bound entity object
FunctionPointerType
thunk-ptr
a stored pointer to function
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4