concept execution policy in category c++

This is an excerpt from Manning's book C++ Concurrency in Action, Second Edition.
The C++17 standard added the concept of parallel algorithms to the C++ Standard Library. These are additional overloads of many of the functions that operate on ranges, such as std::find, std::transform and std::reduce. The parallel versions have the same signature as the “normal” single-threaded versions, except for the addition of a new first parameter, which specifies the execution policy to use. For example:
std::vector<int> my_data; std::sort(std::execution::par,my_data.begin(),my_data.end()); !@%STYLE%@! {"css":"{\"css\": \"font-weight: bold;\"}","target":"[[{\"line\":1,\"ch\":10},{\"line\":1,\"ch\":29}]]"} !@%STYLE%@!The execution policy of std::execution::par indicates to the standard library that it is allowed to perform this call as a parallel algorithm, using multiple threads. Note that this is permission, not a requirement—the library may still execute the code on a single thread if it wishes. It is also important to note that by specifying an execution policy, the requirements on the algorithm complexity have changed, and are usually slacker than the requirements for the normal serial algorithm. This is because parallel algorithms often do more total work in order to take advantage of the parallelism of the system — if you can divide the work across 100 processors, then you can still get an overall speed up to 50, even if the implementation does twice as much total work.
Before we get onto the algorithms themselves, let’s take a look at the execution policies.
If you pass an execution policy to one of the standard library algorithms, then the behavior of that algorithm is now governed by the execution policy. This affects several aspects of the behavior:
If an exception is thrown during execution of an algorithm with an execution policy, then the consequences are determined by the execution policy. All the standard-supplied execution policies will call std::terminate if there are any uncaught exceptions. The only exception that may be thrown by a call to a standard library algorithm with one of the standard execution policies is std::bad_alloc, which is thrown if the library cannot obtain sufficient memory resources for its internal operations. For example, the following call to std::for_each, without an execution policy, will propagate the exception
std::for_each(v.begin(),v.end(),[](auto x){ throw my_exception(); });whereas the corresponding call with an execution policy will terminate the program:
std::for_each( std::execution::seq,v.begin(),v.end(), [](auto x){ throw my_exception(); }); !@%STYLE%@! {"css":"{\"css\": \"font-weight: bold;\"}","target":"[[{\"line\":1,\"ch\":4},{\"line\":1,\"ch\":23}]]"} !@%STYLE%@!This is one of the key differences between using std::execution::seq and not providing an execution policy.