Differentiate between a template class and class template?
Answer / beena
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.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is data structure in c++?
What is a mutex and a critical section.Whats difference between them?How do each of them work?
What is the difference between a baller and a reference in C++?
What are disadvantages of pointers?
Describe run-time type identification?
What is the object serialization?
Why is polymorphism useful?
What is a breakpoint?
In what situations do you have to use initialization list rather than assignment in constructors?
How can you quickly find the number of elements stored in a a) static array b) dynamic array ?
Difference between a homogeneous and a heterogeneous container
What is the copy-and-swap idiom?