24.4 Generic Algorithms
- Generalized to operate on a wide variety of containers
- Templates and iterators are key:
- Templates allow different types
- Iterators build an abstraction layer into containers
- Iterator type often template argument (recall for_each)
- Element type implied by iterator type
prev
|top
|next