Chapter Overview
Explore advanced techniques in C++20 STL including creating tries for search suggestions, implementing producer-consumer models, and building custom algorithms. Learn to manipulate data effectively and apply these skills to complex programming challenges.
We'll cover the following...
We'll cover the following...
We've learned some useful techniques in this course, including optional values, containers, iterators, algorithms, smart pointers, and more. We've seen examples of these concepts in use, and we've had the opportunity to experiment and apply them to some small projects. Let's now apply these techniques to a few more practical ideas.
In this chapter, we will cover the following recipes:
- Create a trie class for search suggestions
- Implement multiple producers and consumers
- Calculate the error sum of two vectors
- Build your own algorithm:
split - Leverage existing algorithms:
gather - Remove consecutive whitespace
- Convert numbers to words