Basic and Advance Programming Question:
Differentiate between a template class and class template in programming?
Answer:
Template class: A generic definition or a parametrized class not
instantiated until the client provides the needed information. It’s
jargon for plain templates.
Class template: A class template specifies
how individual classes can be constructed much like the way a class
specifies how individual objects can be constructed. It’s jargon for
plain classes.
instantiated until the client provides the needed information. It’s
jargon for plain templates.
Class template: A class template specifies
how individual classes can be constructed much like the way a class
specifies how individual objects can be constructed. It’s jargon for
plain classes.
Previous Question | Next Question |
What is a modifier explain? | What is a dangling pointer in programming? |