Discussion Forum : Templates
Question - Which of the things does not require instantiation?
Options:
A .  functions
B .  non virtual member function
C .  member class
D .  all of the mentioned
Answer: Option D


The compiler does not generate definitions for functions, non virtual member functions, class or member class because it does not require instantiation.



Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *