Search⌘ K

Execution Policies

Explore the concept of execution policies in C++17 that allow you to specify whether standard algorithms run sequentially, in parallel, or with vectorization. Understand how to apply these policies to leverage multi-threading and SIMD capabilities for efficient parallel programming.

We'll cover the following...

The Standard Template Library has more than 100 algorithms for searching, counting, and manipulating ranges and their elements. With C++17, 69 of them are overloaded and 8 new ones are added. The overloaded and new algorithms can be invoked with a so-called execution policy.

widget

By using an execution policy, you can specify whether the algorithm should run ...