Lesson of 24 February 2011 (part A)

Example of use of class and template

Basic polynomial class header

File polyBasic.hh

Body of the templated functions and methods

File polyBasic.hxx

Explicit instantiation of the functions and methods

File polyBasic.cc

Extend the class basic polynomial

Polinomial class header

File poly.hh

Body of the templated functions and methods

File poly.hxx

Explicit instantiation of the functions and methods

File poly.cc

Testing the class

File test.cc