home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH17 / A17093.TXT < prev    next >
Encoding:
Text File  |  1993-11-04  |  386 b   |  8 lines

  1. LLStackIter<T> and AStackIter<T> are used to create iterator
  2. classes.  A template class created from LLStackIter<T> is a
  3. friend of template classes created from LLStack<T>.  The
  4. friend relationship also holds between AStackIter<T> and
  5. AStack<T>.  Because the iterator classes are friends of the
  6. stack classes, they are allowed access to the private members
  7. of the stack classes.
  8.