std::execution::seq, std::execution::par, std::execution::par_unseq

From cppreference.com
< cpp‎ | algorithm
 
 
Algorithm library
Execution policies (C++17)
execution::seqexecution::parexecution::par_unseq
Non-modifying sequence operations
(C++11)(C++11)(C++11)
(C++17)
Modifying sequence operations
Operations on uninitialized storage
Partitioning operations
Sorting operations
(C++11)
Binary search operations
Set operations (on sorted ranges)
Heap operations
(C++11)
Minimum/maximum operations
(C++11)
(C++17)

Permutations
Numeric operations
C library
 
Defined in header <execution>
inline constexpr std::execution::sequenced_policy seq { /* unspecified */ };
(since C++17)
inline constexpr std::execution::parallel_policy par { /* unspecified */ };
(since C++17)
inline constexpr std::execution::parallel_unsequenced_policy par_unseq { /* unspecified */ };
(since C++17)

std::execution::seq, std::execution::par and std::execution::par_unseq are instances of the execution policy types std::execution::sequenced_policy, std::execution::parallel_policy and std::execution::parallel_unsequenced_policy respectively. They are used to specify the execution policy of parallel algorithms - i.e., the kinds of parallelism allowed.

Additional execution policies may be provided by a standard library implementation.

See also

execution policy types
(class)