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

  1. In this example, the objects "season" and "months" have different
  2. types.  This is because their second template arguments differ.
  3. The object "season" is of the same class as the object "quarter"
  4. in the preceding example.  The object "months" has the same type
  5. as the object "year".  New classes are not created for these
  6. objects because the arguments in their declarations exactly match
  7. the arguments of an existing template class.
  8.