Templates
Contents
Introduction
Templates allow us to specify a class parameter to a
function or a class. We are used to passing parameters
that are primitive types such int, float or class types
such as string. With templates the type itself is a
parameter and we can pass different types. This allows
us a great deal of flexibility in writing our functions and classes.
Template are used heavily in the STL( Standard Template Library ) .