Algorithms Library: Execution Policies
Algorithms / Execution Policies
Classes
Classes | Description |
---|---|
is_execution_policy | Determines whether T is a standard or implementation-defined execution policy type. (struct) |
Types
Member Types | Definition |
---|---|
sequenced_policy | Class representing a type for a sequenced_policy tag. (using) |
parallel_policy | Class representing a type for a parallel_policy tag. (using) |
parallel_unsequenced_policy | Class representing a type for a parallel_unsequenced_policy tag. (using) |
unsequenced_policy | Class representing a type for an unsequenced_policy tag. (using) |
Attributes
Member Attributes | Description |
---|---|
seq | Tag used in algorithms for a sequenced_policy. (public variable) |
par | Tag used in algorithms for a parallel_policy. (public variable) |
par_unseq | Tag used in algorithms for a parallel_unsequenced_policy. (public variable) |
unseq | Tag used in algorithms for an unsequenced_policy. (public variable) |
is_execution_policy_v | Determines whether T is a standard or implementation-defined execution policy type. (public variable template) |
execution_policy | Determines if a type is an execution_policy. (public concept template) |
Types
using sequenced_policy
Defined in header <futures/algorithm/policies.hpp>
using sequenced_policy = std::execution::sequenced_policy;
Class representing a type for a sequenced_policy tag.
Description
This tag type is an alias to std::execution::sequenced_policy
whenever it's available. Otherwise it's defined as an individual type.
using parallel_policy
Defined in header <futures/algorithm/policies.hpp>
using parallel_policy = std::execution::parallel_policy;
Class representing a type for a parallel_policy tag.
Description
This tag type is an alias to std::execution::parallel_policy
whenever it's available. Otherwise it's defined as an individual type.
using parallel_unsequenced_policy
Defined in header <futures/algorithm/policies.hpp>
using parallel_unsequenced_policy =
std::execution::parallel_unsequenced_policy;
Class representing a type for a parallel_unsequenced_policy tag.
Description
This tag type is an alias to std::execution::parallel_unsequenced_policy
whenever it's available. Otherwise it's defined as an individual type.
using unsequenced_policy
Defined in header <futures/algorithm/policies.hpp>
using unsequenced_policy = std::execution::unsequenced_policy;
Class representing a type for an unsequenced_policy tag.
Description
This tag type is an alias to std::execution::unsequenced_policy
whenever it's available. Otherwise it's defined as an individual type.
Attributes
variable seq
Defined in header <futures/algorithm/policies.hpp>
constexpr sequenced_policy seq {};
Tag used in algorithms for a sequenced_policy.
variable par
Defined in header <futures/algorithm/policies.hpp>
constexpr parallel_policy par {};
Tag used in algorithms for a parallel_policy.
variable par_unseq
Defined in header <futures/algorithm/policies.hpp>
constexpr parallel_unsequenced_policy par_unseq {};
Tag used in algorithms for a parallel_unsequenced_policy.
variable unseq
Defined in header <futures/algorithm/policies.hpp>
constexpr unsequenced_policy unseq {};
Tag used in algorithms for an unsequenced_policy.
variable is_execution_policy_v
Defined in header <futures/algorithm/policies.hpp>
constexpr bool is_execution_policy_v = is_execution_policy<T>::value;
Determines whether T is a standard or implementation-defined execution policy type.
concept execution_policy
Defined in header <futures/algorithm/policies.hpp>
template<class E>
concept execution_policy = is_execution_policy_v<E>;
Determines if a type is an execution_policy.
Updated on 2023-01-04