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

  1. Notice that all the functions of the abstract base class are pure
  2. virtuals and that the template class contains no data members.
  3. The use of an abstract base class allows you to pass stack objects
  4. of classes derived from the base class to and from the same
  5. functions.  You can also switch your implementation between
  6. different stacks derived from the base class "Stack" without
  7. having to change your code.
  8.