O'Reilly logo

Using the C++ Standard Template Libraries by Ivor Horton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 7

image

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required