functional¶
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace
hpx
Functions
-
namespace
placeholders
¶ Variables
-
constexpr detail::placeholder<1>
_1
= {}¶
-
constexpr detail::placeholder<2>
_2
= {}¶
-
constexpr detail::placeholder<3>
_3
= {}¶
-
constexpr detail::placeholder<4>
_4
= {}¶
-
constexpr detail::placeholder<5>
_5
= {}¶
-
constexpr detail::placeholder<6>
_6
= {}¶
-
constexpr detail::placeholder<7>
_7
= {}¶
-
constexpr detail::placeholder<8>
_8
= {}¶
-
constexpr detail::placeholder<9>
_9
= {}¶
-
constexpr detail::placeholder<1>
-
namespace
serialization
-
namespace
util
Functions
-
template<typename F, typename... Ts>hpx::util::HPX_DEPRECATED_V(1, 8, "hpx::util::bind is deprecated, use hpx::bind instead ") const&&
Variables
-
Ts && hpx::util::ts{ return hpx::bind(HPX_FORWARD(F, f), HPX_FORWARD(Ts, ts)...)
-
namespace
placeholders
¶ Functions
-
hpx::util::placeholders::HPX_DEPRECATED_V(1, 8, "hpx::placeholders::_1 is deprecated, use " "hpx::placeholders::_1 instead ") const
-
hpx::util::placeholders::HPX_DEPRECATED_V(1, 8, "hpx::placeholders::_2 is deprecated, use " "hpx::placeholders::_2 instead ") const
-
hpx::util::placeholders::HPX_DEPRECATED_V(1, 8, "hpx::placeholders::_3 is deprecated, use " "hpx::placeholders::_3 instead ") const
-
hpx::util::placeholders::HPX_DEPRECATED_V(1, 8, "hpx::placeholders::_4 is deprecated, use " "hpx::placeholders::_4 instead ") const
-
hpx::util::placeholders::HPX_DEPRECATED_V(1, 8, "hpx::placeholders::_5 is deprecated, use " "hpx::placeholders::_5 instead ") const
-
hpx::util::placeholders::HPX_DEPRECATED_V(1, 8, "hpx::placeholders::_6 is deprecated, use " "hpx::placeholders::_6 instead ") const
-
hpx::util::placeholders::HPX_DEPRECATED_V(1, 8, "hpx::placeholders::_7 is deprecated, use " "hpx::placeholders::_7 instead ") const
-
hpx::util::placeholders::HPX_DEPRECATED_V(1, 8, "hpx::placeholders::_8 is deprecated, use " "hpx::placeholders::_8 instead ") const
-
hpx::util::placeholders::HPX_DEPRECATED_V(1, 8, "hpx::placeholders::_9 is deprecated, use " "hpx::placeholders::_9 instead ") const
-
-
-
namespace
-
namespace
hpx
Functions
-
namespace
serialization
-
namespace
util
Functions
-
template<typename F, typename... Ts>hpx::util::HPX_DEPRECATED_V(1, 8, "hpx::util::bind_back is deprecated, use hpx::bind_back instead ") const&&
-
-
namespace
-
namespace
hpx
Functions
-
namespace
serialization
-
namespace
util
Functions
-
template<typename F, typename... Ts>hpx::util::HPX_DEPRECATED_V(1, 8, "hpx::util::bind_front is deprecated, use hpx::bind_front instead ") const&&
-
-
namespace
-
namespace
hpx
-
namespace
serialization
-
namespace
util
-
namespace
Defines
-
HPX_UTIL_REGISTER_FUNCTION_DECLARATION
(Sig, F, Name)¶
-
HPX_UTIL_REGISTER_FUNCTION
(Sig, F, Name)¶
-
namespace
hpx
-
template<typename
R
, typename ...Ts
, boolSerializable
>
classfunction
<R(Ts...), Serializable> : public util::detail::basic_function<R(Ts...), true, Serializable>¶ Public Types
-
template<>
usingresult_type
= R¶
-
template<>
-
namespace
distributed
¶
-
namespace
util
Typedefs
-
typedef hpx::move_only_function<Sig>
instead
-
typedef hpx::move_only_function<Sig>
-
template<typename
-
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
Defines
-
HPX_INVOKE_R
(R, F, ...)¶
-
namespace
hpx
-
namespace
util
Functions
-
template<typename
F
, typename ...Ts
>
constexpr util::invoke_result<F, Ts...>::typeinvoke
(F &&f, Ts&&... vs)¶ Invokes the given callable object f with the content of the argument pack vs
- Return
The result of the callable object when it’s called with the given argument types.
- Note
This function is similar to
std::invoke
(C++17)- Parameters
f
: Requires to be a callable object. If f is a member function pointer, the first argument in the pack will be treated as the callee (this object).vs
: An arbitrary pack of arguments
- Exceptions
std::exception
: like objects thrown by call to object f with the argument types vs.
-
template<typename
-
namespace
-
namespace
hpx
-
namespace
util
Functions
-
template<typename
F
, typenameTuple
>
constexpr detail::invoke_fused_result<F, Tuple>::typeinvoke_fused
(F &&f, Tuple &&t)¶ Invokes the given callable object f with the content of the sequenced type t (tuples, pairs)
- Return
The result of the callable object when it’s called with the content of the given sequenced type.
- Note
This function is similar to
std::apply
(C++17)- Parameters
f
: Must be a callable object. If f is a member function pointer, the first argument in the sequenced type will be treated as the callee (this object).t
: A type whose contents are accessible through a call to hpx::get.
- Exceptions
std::exception
: like objects thrown by call to object f with the arguments contained in the sequenceable type t.
-
template<typename
-
namespace
-
namespace
hpx
-
namespace
util
-
namespace
Defines
-
HPX_UTIL_REGISTER_UNIQUE_FUNCTION_DECLARATION
(Sig, F, Name)¶
-
HPX_UTIL_REGISTER_UNIQUE_FUNCTION
(Sig, F, Name)¶
-
namespace
hpx
-
template<typename
R
, typename ...Ts
, boolSerializable
>
classmove_only_function
<R(Ts...), Serializable> : public util::detail::basic_function<R(Ts...), false, Serializable>¶ Public Types
-
template<>
usingresult_type
= R¶
Public Functions
-
move_only_function
(move_only_function const&)¶
-
move_only_function
(move_only_function&&)¶
-
move_only_function &
operator=
(move_only_function const&)¶
-
move_only_function &
operator=
(move_only_function&&)¶
-
template<>
-
namespace
distributed
-
template<typename
-
namespace
hpx
-
namespace
serialization
-
namespace
util
-
namespace
-
namespace
hpx
-
namespace
util
-
namespace
-
template<typename
R
, typenameObj
, typename ...Ts
>
structget_function_address
<R (Obj::*)(Ts...) const>¶
-
namespace
hpx
-
namespace
hpx
-
namespace
hpx
-
-
namespace
traits
Typedefs
-
typedef hpx::is_placeholder<T>
instead
¶
Functions
-
template<typename Action>hpx::traits::HPX_DEPRECATED_V(1, 8, "hpx::traits::is_bound_action_v is deprecated, use " "hpx::is_bound_action_v instead ") const
-
typedef hpx::is_placeholder<T>
-
namespace
-
namespace
hpx
Variables
-
template<typename
T
>
constexpr boolis_bind_expression_v
= is_bind_expression<T>::value¶
-
template<typename
T
>
structis_bind_expression
: public std::is_bind_expression<T>¶ Subclassed by hpx::is_bind_expression< T const >
-
namespace
traits
Functions
-
template<typename T>hpx::traits::HPX_DEPRECATED_V(1, 8, "hpx::traits::is_bind_expression_v is deprecated, use " "hpx::is_bind_expression_v instead ") const
-
-
template<typename
-
namespace
hpx
-
template<typename
T
>
structis_placeholder
¶ - #include <is_placeholder.hpp>
If
T
is a standard, Boost, or HPX placeholder (_1, _2, _3, …) then this template is derived fromstd::integral_constant<int, 1>
,std::integral_constant<int, 2>
,std::integral_constant<int, 3>
, respectively. Otherwise it is derived from ,std::integral_constant<int, 0>
.
-
namespace
traits
Functions
-
template<typename T>hpx::traits::HPX_DEPRECATED_V(1, 8, "hpx::traits::is_placeholder_v is deprecated, use " "hpx::is_placeholder_v instead ") const
-
-
template<typename