Templates (also known as parameterized types) are an important part of the C++ language. They provide a tool for constructing generic classes and functions that are valid for different data types. Templates are intrinsic to the Standard Template Library (also known as the STL), which contains the templates for many useful classes. (See Chapter 17.) Templates can be provided for both functions and classes.


Parameterized Type Function Argument Member Function Function Template Class Template 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag London 2001

Authors and Affiliations

  • Derek Capper

There are no affiliations available

Personalised recommendations