hpx/execution/executors/rebind_executor.hpp#

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
namespace parallel
namespace execution

Variables

constexpr create_rebound_policy_t create_rebound_policy = {}#
struct create_rebound_policy_t#

Public Functions

template<typename ExPolicy, typename Executor, typename Parameters>
inline constexpr decltype(auto) operator()(ExPolicy&&, Executor &&exec, Parameters &&parameters) const#
template<typename ExPolicy, typename Executor, typename Parameters>
struct rebind_executor#
#include <rebind_executor.hpp>

Rebind the type of executor used by an execution policy. The execution category of Executor shall not be weaker than that of ExecutionPolicy.

Public Types

using type = typename policy_type::template rebind<executor_type, parameters_type>::type#

The type of the rebound execution policy.