Lecture overview -- Keyboard shortcut: 'u'  Previous page: Example of Policies with Templates -- Keyboard shortcut: 'p'  Next page: Example - Specialization of Point<C> to Point<char> -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Alphabetic index  Help page about these notes  Course home    Templates and The Standard Library - slide 10 : 46

Template Specialization

It is possible to provide a special version of a template for a particular type of parameter

Template specialization can be used for both class templates and function templates

Function templates can also be specialized