Question: What is the disadvantage of a template function?
Answer: A template function cannot be distributed in the obj form. This is because, fuction with which parameters the template function is going to be called is decided at the run time only. Therefore an obj form of a template function cannot be made by merely compiling it. VC++ FAQ’s And Interview Questions and Answers
Question:
What is the disadvantage of a template function? Answer:
A template function cannot be distributed in the obj form. This is because, fuction with which parameters the template function is going to be called is decided at the run time only. Therefore an obj form of a template function cannot be made by merely compiling it. VC++ FAQ’s And Interview Questions and Answers