Lecture overview -- Keyboard shortcut: 'u'  Previous page: Template Specialization -- Keyboard shortcut: 'p'  Next page: Specialization of class templates - complete and partial -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Lecture 5 - Page 11 : 39
Notes about C++
Templates and The Standard Library
Example - Specialization of Point<C> to Point<char>

We show show how to specialize Point<C> to Point<char>

This example solely demonstrates some technicalities of class template specialization

y:/Kurt/Files/Advanced-programming-cpp/cpp/kn/templates/vers6/point.hThe general class template Point followed by the specialized one.


y:/Kurt/Files/Advanced-programming-cpp/cpp/kn/templates/vers6/point.ccThe implementation of the template class Point - point.cc - nothing interesting here.


y:/Kurt/Files/Advanced-programming-cpp/cpp/kn/templates/vers6/prog.ccA program that illustrate the instantiation of both the general and specialized template classes.