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

  1. "LLStack<T>" and "AStack<T>" are also class templates.  While
  2. "Stack<T>" defines a family of abstract base classes,
  3. "LLStack<T>" and "AStack<T>" define two families of concrete stack
  4. classes.  Stack classes created by using "LLStack<T>" and
  5. "AStack<T>" are derived from the "Stack<T>".  "LLStack<T>" is
  6. based on a linked list and "AStack<T>" is based on an array.
  7. Because template classes created using "LLStack<T>" and
  8. "AStack<T>" are concrete, you can create an object out of their
  9. classes.
  10.