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

  1. In this example, functions func_c() and func_d() are not valid
  2. because a type that appears in the argument list of the template
  3. does not appear in the argument list of the function.  It is not
  4. enough to use a parameterized type for the return value of the
  5. function or to use it inside the body of the function.  The
  6. function func_d() also cannot work because the type "V" is not one
  7. of the template arguments.  The function func_e() is not valid
  8. because a parameterized type can appear only once in a template
  9. argument list.
  10.