www.gibmonks.com

Main Page




Previous Page
Next Page

[Page 762 (continued)]

14.6. Notes on Templates and Inheritance

Templates and inheritance relate in several ways:

  • A class template can be derived from a class-template specialization.

  • A class template can be derived from a nontemplate class.

  • A class-template specialization can be derived from a class-template specialization.

  • A nontemplate class can be derived from a class-template specialization.


Previous Page
Next Page