31 lines
1.1 KiB
Markdown
31 lines
1.1 KiB
Markdown
[execpol.seq]
|
||
|
||
# 26 Algorithms library [[algorithms]](./#algorithms)
|
||
|
||
## 26.3 Parallel algorithms [[algorithms.parallel]](algorithms.parallel#execpol.seq)
|
||
|
||
### 26.3.6 Execution policies [[execpol]](execpol#seq)
|
||
|
||
#### 26.3.6.3 Sequenced execution policy [execpol.seq]
|
||
|
||
[ð](#lib:execution::sequenced_policy)
|
||
|
||
`class execution::sequenced_policy { unspecified };
|
||
`
|
||
|
||
[1](#1)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/algorithms.tex#L704)
|
||
|
||
The class execution::sequenced_policy is an execution policy type used
|
||
as a unique type to disambiguate parallel algorithm overloading and require
|
||
that a parallel algorithm's execution may not be parallelized[.](#1.sentence-1)
|
||
|
||
[2](#2)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/algorithms.tex#L709)
|
||
|
||
During the execution of a parallel algorithm with
|
||
the execution::sequenced_policy policy,
|
||
if the invocation of an element access function exits via an exception,terminate is invoked ([[except.terminate]](except.terminate "14.6.2 The std::terminate function"))[.](#2.sentence-1)
|