Chapter Overview

Get an idea of what we'll cover in this chapter.

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