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.




C++ How to Program
C++ How to Program (5th Edition)
ISBN: 0131857576
EAN: 2147483647
Year: 2004
Pages: 627
Simiral book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net