More Algorithms

This chapter describes more of the algorithms the STL offers. Algorithms are commonly divided into two groups: mutating algorithms that change the range to which they are applied, and non-mutating algorithms. I’ll discuss the algorithms in this chapter subdivided into groups by what you can do with them, not by whether or not they change things. If you know what an algorithm does, it will be obvious whether or not it changes the data to which it’s applied. In this chapter you will learn about:

  • Algorithms that test the properties of the elements in a range
  • Algorithms that count the number of elements in a range with a ...

Get Using the C++ Standard Template Libraries now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.