In this hour you learned how to create and use templates. Templates are a built-in facility of C++ used to create parameterized types—types that change their behavior based on parameters passed in at creation. They are a way to reuse code safely and effectively.
The definition of the template determines the parameterized type. Each instance of the template is an actual object that can be used like any other object—as a parameter to a function, as a return value, and so forth.