24.1 Loose Coupling Produces a Strong Library
(cont.)
- Containers and algorithms know nothing about each other
- Reduces size of interfaces
- Containers provide iterators
- Algorithms only know iterators, not containers
- Generalized through template parameters
- Specialization done at compile time, not run time
prev
|top
|next