How can you force instantiation of a template?



How can you force instantiation of a template?..

Answer / 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

More C++ General Interview Questions

What is the operator in c++?

0 Answers  


Shall we use 'free' to free memory assigned by new, What are the further consequences??

5 Answers   Symphony,


Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).

0 Answers  


What is nested class in c++?

0 Answers  


What is the best ide for c++?

0 Answers  






What is c++ mutable?

0 Answers  


To which numbering system can the binary number 1101100100111100 be easily converted to?

0 Answers  


What do you mean by funtion prototype?

0 Answers  


What is c++ good for?

0 Answers  


Explain the static storage classes in c++.

0 Answers  


What is ifstream c++?

0 Answers  


If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?

0 Answers  


Categories