| Lecture 5 - Slide 39 : 40 |
We show how to specialize Point<C> to Point<char>
This example solely demonstrates some technicalities of class template specialization
This is example is not useful in its own right
The implementation of the template class Point - point.cc - nothing interesting here. |
A program that illustrate the instantiation of both the general and specialized template classes. |
Program output. |