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

difference between c and c++?

38 Answers   Cognizant, IBM, Infosys, Oracle, Sarva Shiksha Abhiyan, Wipro,


What compiler was used?

6 Answers   Intel,


Why was c++ created?

0 Answers  


Why are pointers used?

0 Answers  


What is the full form of ios?

0 Answers  






Why null pointer is used?

0 Answers  


How can we check whether the contents of two structure variables are same or not?

0 Answers  


What is a Default constructor?

1 Answers  


What are proxy objects?

2 Answers  


Give 2 examples of a code optimization?

4 Answers  


What are the steps in the development cycle?

0 Answers  


What problems might the following macro bring to the application?

0 Answers  


Categories