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
How do you declare a set in c++?
Is there any difference between int [] a and int a [] in c++?
What do you mean by const correctness?
What are the advantages of pointers?
What is a constructor in c++ with example?
Which function should be used to free the memory allocated by calloc()?
Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;
What are the rules for naming an identifier?
How can you create a virtual copy constructor?
Differentiate between late binding and early binding. What are the advantages of early binding?
Explain unexpected() function?
You run a shell on unix system. How would you tell which shell are you running?
What are the differences between the function prototype and the function defi-nition?
What is the importance of mutable keyword?
Write about a nested class and mention its use?