home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH08 / A08126.TXT < prev    next >
Encoding:
Text File  |  1993-09-27  |  409 b   |  8 lines

  1. Usually, a container and its iterators are implemented as
  2. separate, but cooperating, classes.  Each iterator class is
  3. usually a friend of the container class.  This ListIter class is
  4. the iterator class for the List class.  Each member function of
  5. the PhoneBk class that uses the container can declare a dependant
  6. iterator object.  Notice that the position counter "current" is a
  7. member of an iterator.
  8.