Introduction

This chapter brings us to the various computing algorithms supported by C++17.

We'll cover the following

The Standard Template Library has a large number of algorithms that work with containers and their elements. As the algorithms are function templates, they are independent of the type of elements in the container. The glue between the containers and algorithms is the iterators. If our custom container supports the interface of an STL container, we can apply the algorithms to our container.

Get hands-on with 1400+ tech skills courses.