|
-
Jul 18th, 2007, 08:07 AM
#1
Thread Starter
Addicted Member
[RESOLVED] can u say, what is the need of function overloading,even though there is templates?
Hi all!
What is the need of "function over loading" in c++? since C++ supports the "function templeates", which can enable the user to write only one generic function that can deal with different data types?
I think, to reduce the code for different funciton defnitions, "function templates" had been introduced.. am i right? or any advantage is there?
Thanks in advance:
regards:
raghunadhs.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|