Search⌘ K
AI Features

An Introduction to Ranges and Algorithms

Explore the design and purpose of containers, iterators, and algorithms in C++. Learn to create your own custom container, iterator, and general-purpose algorithm while gaining a strong foundation in the standard template library's main pillars.

We'll cover the following...

So far, we’ve learned about the syntax and the mechanism of templates in C++, up to the latest version of the standard, C++20. This has equipped us with the necessary knowledge to write templates from simple forms to complex ones. Templates are the key to writing generic libraries. Even though we might not write such a library ourselves, we’d still be using one or more. ...