Home > DeveloperSection > Interviews > What is the disadvantage of a template function?

Posted on    March-28-2011 7:50 AM

 OOPS OOPS 
Ratings:
 1 Answer(s)
  1267  View(s)
Rate this:

Mahesh Rawat
Mahesh Rawat

Total Post:138

Points:690
Posted on    March-28-2011 12:00 AM

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.

Don't want to miss updates? Please click the below button!

Follow MindStick