hpx::bind_front#
Defined in header hpx/functional.hpp.
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace hpx
Top level namespace.
Functions
- template<typename F, typename... Ts> constexpr HPX_CXX_EXPORT detail::bound_front< std::decay_t< F >, util::make_index_pack_t< sizeof...(Ts)>, util::decay_unwrap_t< Ts >... > bind_front (F &&f, Ts &&... vs)
Function template
bind_frontgenerates a forwarding call wrapper forf. Calling this wrapper is equivalent to invokingfwith its firstsizeof…(Ts) parameters bound tovs.- Parameters
f – Callable object (function object, pointer to function, reference to function, pointer to member function, or pointer to data member) that will be bound to some arguments
vs – list of the arguments to bind to the first or
sizeof…(Ts) parameters off
- Returns
A function object of type
Tthat is unspecified, except that the types of objects returned by two calls tohpx::bind_frontwith the same arguments are the same.
- template<typename F> constexpr HPX_CXX_EXPORT std::decay_t< F > bind_front (F &&f)
-
namespace serialization
Functions
- template<typename Archive, typename F, typename... Ts> HPX_CXX_EXPORT void serialize (Archive &ar, ::hpx::detail::bound_front< F, Ts... > &bound, unsigned int const version=0)