Next | "Design Patterns" Aren't | 4 |
You have a collection object
You want to iterate over the elements of the collection
Without exposing any internals
To do this, you get out the Design Patterns book
You build an iterator class the way it says
Using the sample C++ code provided
continued...
Next | Copyright © 2002 M. J. Dominus |