The library containers define a surprisingly small set of operations. Rather than adding lots of functionality to the containers, the library instead provides a set of algorithms, most of which are independent of any particular container type. These algorithms are generic: They operate on different types of containers and on elements of various types.
The generic algorithms, and a more detailed look at iterators, form the subject matter of this chapter.
The standard ...