Files
cppdraft_translate/cppdraft/execpol/par.md
2025-10-25 03:02:53 +03:00

1.1 KiB
Raw Blame History

[execpol.par]

26 Algorithms library [algorithms]

26.3 Parallel algorithms [algorithms.parallel]

26.3.6 Execution policies [execpol]

26.3.6.4 Parallel execution policy [execpol.par]

🔗

class execution::parallel_policy { unspecified };

1

#

The class execution::parallel_policy is an execution policy type used as a unique type to disambiguate parallel algorithm overloading and indicate that a parallel algorithm's execution may be parallelized.

2

#

During the execution of a parallel algorithm with the execution::parallel_policy policy, if the invocation of an element access function exits via an exception,terminate is invoked ([except.terminate]).