hpx/functional/function_ref.hpp¶
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace
hpx
-
template<typename
R
, typename ...Ts
>
classfunction_ref
<R(Ts...)>¶ Public Functions
-
template<typename
F
, typenameFD
= std::decay_t<F>, typenameEnable
= std::enable_if_t<!std::is_same_v<FD, function_ref> && is_invocable_r_v<R, F&, Ts...>>>function_ref
(F &&f)¶
-
function_ref
(function_ref const &other)¶
-
template<typename
F
, typenameFD
= std::decay_t<F>, typenameEnable
= std::enable_if_t<!std::is_same_v<FD, function_ref> && is_invocable_r_v<R, F&, Ts...>>>
function_ref &operator=
(F &&f)¶
-
function_ref &
operator=
(function_ref const &other)¶
-
template<typename
F
, typenameT
= std::remove_reference_t<F>, typenameEnable
= std::enable_if_t<!std::is_pointer_v<T>>>
voidassign
(F &&f)¶
-
void
swap
(function_ref &f)¶
-
R
operator()
(Ts... vs) const¶
-
char const *
get_function_annotation
() const¶
-
util::itt::string_handle
get_function_annotation_itt
() const¶
Private Static Functions
-
template<typename
T
>
static VTable const *get_vtable
()¶
-
template<typename
-
template<typename