# Standard library header <execution>

From cppreference.com
< cpp‎ | header

This header is part of the algorithm library.

Defined in header `<execution>`
Defined in namespace `execution`
sequenced_policy parallel_policy parallel_unsequenced_policy (C++17)(C++17)(C++17) | execution policy types (class)
seq par par_unseq (C++17)(C++17)(C++17) | global execution policy objects (constant)
is_execution_policy (C++17) | test whether a class represents an execution policy (class template)

### Synopsis

    namespace std {

    // execution policy type trait:
    template<class T> struct is_execution_policy;
    template<class T> inline 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_policy;

    // execution policy objects:
    inline constexpr sequenced_policy seq{ /*unspecified*/ };
    inline constexpr parallel_policy par{ /*unspecified*/ };
    inline constexpr parallel_unsequenced_policy par_unseq{ /*unspecified*/ };

    }

    }

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/header/execution&oldid=91024"