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


Please Help Members By Posting Answers For Below Questions

What is constructor and destructor in c++?

614


how to access grid view row?

1808


How much do c++ programmers make?

558


What are compilers in c++?

601


What does it mean to declare a member function as virtual?

582






Is there any function that can skip certain number of characters present in the input stream?

581


What is function prototyping?

616


How do you flush a buffer in c++?

596


What do you mean by translation unit in c++?

662


Why do we use structure in c++?

570


What is input operator in c++?

580


Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.

781


What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h

602


What is the use of default constructor?

567


What are the vectors in c++?

577