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 basic if statement syntax?

0 Answers  


How to stop conversions among objects?

5 Answers   Symphony,


Can we distribute function templates and class templates in object libraries?

0 Answers  


Will the inline function be compiled as the inline function always? Justify.

1 Answers  


Explain the ISA and HASA class relationships. How would you implement each in a class design?

3 Answers  






What is data binding in c++?

0 Answers  


Write a note about the virtual member function?

0 Answers  


What are arrays c++?

0 Answers  


Do you know what are static and dynamic type checking?

0 Answers  


What is the use of register keyword with the variables?

0 Answers  


Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.

0 Answers  


Can create new c++ operators?

0 Answers  






Categories