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

  1. A template class may be created when an object is declared and the
  2. declaration includes arguments matching a class template.  A
  3. template class is an instance of the class template.  Here, before
  4. constructing the object "year", the compiler creates a template
  5. class.  In this class, the data member "ident" is an integer and
  6. the data member "period" is an array of twelve String objects.
  7.