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

  1. Containers are excellent candidates for code reuse.  You can use
  2. the C++ template feature to write, or re-use, container classes
  3. that have a generalized form.  Here is the definition of a
  4. template for the class Alist.  The "class T" represents a type not
  5. yet specified.  At compile time, a defined type, such as int or
  6. PhoneNum, is substituted for the parameterized type "T".
  7.