20.5 Nested Classes
- Compare our Iterator (chptr. 16):
Iterator pos = staff.begin();
- to the STL iterator:
list<string>::iterator pos = staff.begin();
- iterator is nested inside the list
class
- Allows other containers to define their own iterators with different
behaviors
prev
|top
|next