January 2018
Intermediate to advanced
374 pages
9h 53m
English
The execution policy informs the algorithms of how they are allowed to parallelize the algorithm; there are three default execution policies included in the STL parallel extensions. In the future, there will probably be libraries extending these policies for certain hardware and conditions. This would make it possible to seamlessly use the parallel power of modern graphics card from STL algorithms.
The execution policies are defined in the header <execution> and reside in the namespace std::execution.