This header is part of the algorithm library.
Defined in header <execution> |
|
---|---|
Defined in namespace execution |
|
(C++17)(C++17)(C++17)
| execution policy types (class) |
(C++17)(C++17)(C++17)
| global execution policy objects (constant) |
(C++17)
| test whether a class represents an execution policy (class template) |
namespace std { // execution policy type trait: template<class T> struct is_execution_policy; template<class T> constexpr bool is_execution_policy_v = is_execution_policy<T>::value; namespace execution { // sequential execution policy: class sequenced_policy; // parallel execution policy: class parallel_policy; class parallel_unsequenced_p_policy; // execution policy objects: constexpr sequenced_policy seq{ /*unspecified*/ }; constexpr parallel_policy par{ /*unspecified*/ }; constexpr parallel_unsequenced_p_policy par_unseq{ /*unspecified*/ }; } }
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/header/execution_policy