Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

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

seq, par and par_vec are instances of the execution policy types sequential_execution_policy, parallel_execution_policy and parallel_vector_execution_policy respectively.

NotebookLM
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.

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.