Lecture 5 - Slide 34 : 40 |
We make a Point class parameterized with a type C, an integer dimension, and some default value in C
All template parameters are defaulted
![]() | The implementation of the template class Point - point.cc. |
![]() | A program that illustrate the template instantiation. |
![]() | Program output. |