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 meant by forward referencing and when should it be used?
What is the use of setprecision in c++?
How the programmer of a class should decide whether to declare member function or a friend function?
what is multi-threading in C++?
What is abstract class in c++?
What is object file? How can you access object file?
Can you be bale to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
How to declaring variables in c++?
Can I make ios apps with c++?
What is the outcome of cout< a) 16 b) 17 c) 16.5
Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---
What are associate containers?
What are the comments in c++?
How many namespaces are there in c++?
What is #include sstream?