Chapter 33. Examining Algorithms

<feature>
  • Understand the concept of generic algorithms

  • See the difference between in-place and copy algorithms

  • Learn about the modifying and nonmodifying sequence algorithms

  • Discover the sorted sequence algorithms

  • Explore the heap operation, comparison, and permutation algorithms

</feature>

Generic Algorithms

The Standard C++ Library provides a wide assortment of generic algorithms designed to be efficient and yet work with a wide variety of data types. These generic algorithms use iterators to perform their magic. In this chapter, you’ll see how these algorithms can cut your programming time by providing plug-in solutions. These algorithms can be divided into the following seven general categories, based on their semantics ...

Get Practical C++ now with O’Reilly online learning.

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