Parallel Algorithms with the STL
This chapter covers the topic of C++ parallelism, particularly with the tools and techniques introduced in C++17. Starting with the foundations, the chapter unfolds the power of execution policies that allow developers to harness parallel processing in their C++ Standard Template Library (STL) algorithms.
We will cover the following topics in this chapter:
- Introduction to execution policies
- Incorporating execution policies
- The impact of
constexpr
on algorithms and containers - Performance considerations