Introduction

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

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

Get hands-on with 1200+ tech skills courses.