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
Show the application of a dynamic array with the help of an example.
Is there a sort function in c++?
Can class objects be passed as function arguments?
Is swift a good first language?
What is a template in c++?
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?
Explain how a pointer to function can be declared in C++?
How would you call C functions from C++ and vice versa?
What is the use of class in c++?
What sorting algorithm does c++ use?
What is fflush c++?
How do you write a function that can reverse a linked-list?
Do you need a main function in c++?
What is a loop? What are different types of loops in c++?
What are the 2 main types of data structures?