hpx/execution/executors/rebind_executor.hpp#

Defined in header 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 execution
namespace experimental

Typedefs

template<typename ExPolicy, typename Executor, typename Parameters>
using rebind_executor_t = typename rebind_executor<ExPolicy, Executor, Parameters>::type#

Variables

constexpr HPX_CXX_CORE_EXPORT struct hpx::execution::experimental::create_rebound_policy_t create_rebound_policy
struct create_rebound_policy_t#

Public Types

using rebound_type = rebind_executor_t<ExPolicy, Executor, parameters_type>#
using rebound_type = rebind_executor_t<ExPolicy, executor_type, Parameters>

Public Functions

template<typename ExPolicy, typename Executor, typename Parameters>  requires (hpx::executor_any< Executor > &&hpx::executor_parameters< Parameters >) const expr decltype(auto) operator()(ExPolicy &&
return rebound_type (HPX_FORWARD(Executor, exec), HPX_FORWARD(Parameters, parameters))
template<typename ExPolicy, typename Executor>  requires (hpx::executor_any< Executor >) const expr decltype(auto) operator()(ExPolicy &&policy
return rebound_type (HPX_FORWARD(Executor, exec), policy.parameters())
template<typename ExPolicy, typename Parameters>  requires (hpx::executor_parameters< Parameters >) const expr decltype(auto) operator()(ExPolicy &&policy
return rebound_type (policy.executor(), HPX_FORWARD(Parameters, parameters))

Public Members

Executor &&exec#
Executor Parameters &&const parameters  {using rebound_type =rebind_executor_t<ExPolicy, Executor, Parameters>
Executor &&const exec  {using parameters_type = std::decay_t<ExPolicy>::parameters_type
Parameters &&const parameters  {using executor_type = std::decay_t<ExPolicy>::executor_type
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.