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

  1. Usually, nontype template arguments are used to initialize a class
  2. or to specify the sizes of class members.  Constant values must be
  3. supplied for nontype arguments when objects are declared.  Here,
  4. the argument "maxlen" is a nontype template argument.  It is given
  5. the value 80 when the object "line" is declared.  Nontype
  6. arguments may also be addresses of functions, objects with
  7. external linkage, or addresses of static class members.
  8.