Define class templates in C++?

 

The class template’s relationship to an individual class is analogous to the relationship between a class and an individual object. A class template in c++ defines how a group of classes can be generated, whereas an individual class defines how a group of objects can be constructed. Class template used to generate template classes. You cannot declare an object of a class template. For additional information visit our website.