How can you force instantiation of a template?
Answer Posted / bhargavi
You can force the instantiation of a specialization of the
template by specifying a prototype somewhere in your code.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between c++ and turbo c++?
What is the use of lambda in c++?
What is the importance of mutable keyword?
Explain pass by value and pass by reference.
What is the difference between map and hashmap in c++?
What is the use of function pointer?
What are punctuators in c++?
What does #define mean in c++?
What is the latest c++ version?
What is the difference between an external iterator and an internal iterator?
When does a 'this' pointer get created?
What is constant in c++ with example?
What is polymorphism in c++? Explain with an example?
What is the this pointer?
What is private inheritance?