1.

Differentiate Between A Template Class And Class Template In C++?

Answer»

Template class:  A generic definition or a parameterized 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.

Template class:  A generic definition or a parameterized 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.



Discussion

No Comment Found