##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::parallel::seq, std::experimental::parallel::par, std::experimental::parallel::par_vec

From cppreference.com
< cpp‎ | experimental

Defined in header `<experimental/execution_policy>` |  |
constexpr sequential_execution_policy seq{}; |  | (parallelism TS)
constexpr parallel_execution_policy par{}; |  | (parallelism TS)
constexpr parallel_vector_execution_policy par_vec{}; |  | (parallelism TS)

`seq`, `par` and `par_vec` are instances of the execution policy types `sequential_execution_policy`, `parallel_execution_policy` and `parallel_vector_execution_policy` respectively. They are used to specify the execution policy of parallel algorithms - i.e., the kinds of parallelism allowed.

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/execution_policy_tag&oldid=80070"