Technical Discussion :: C++
Home > Technical Interview Q&A > C++ > Discussion
104 / 187
What do you mean by template class?
Answer:
A class created from a class template is called a template class. The syntax for defining an object of a template class is :
Class_name
The process of creating a specific class from a class is called instantiation. The compiler will perform the error analysis only when an instantiation takes place.
Asked In ::
Preeti Sharma
23 Feb, 2019 5:07 AM
A class created from a class template is called a template class. The syntax for defining an object of a template class is :
Class_nameobject_name(arglist);
The process of creating a specific class from a class is called instantiation. The compiler will perform the error analysis only when an instantiation takes place.
Class_name
The process of creating a specific class from a class is called instantiation. The compiler will perform the error analysis only when an instantiation takes place.