tags:

views:

108

answers:

2

HI friends , Any one help me

  1. The Important Difference: Overloading vs. Specialization in C++

It's important to make sure we have the terms with proof .Thanks in advance

The doubt arised "Why Not Specialize Function Templates?"

+3  A: 

Read GoTW #17 for the very detailed answer.

Alex B
...so, was the answer wrong?
Alex B
@Alex B: Your answer was necessary and sufficient. +1 from me.
ArunSaha
@Alex B: answer that simply contain a link are discouraged, usually a discussion / summary of the content of the page linked is expected... just in case your link suddenly points into the void, in which case your answer would become completely meaningless.
Matthieu M.
+2  A: 

Check out the article Why Not Specialize Function Templates? by Herb Sutter.

BE Student
A link to the relevant GotW would be sufficient, no?
Alex B
... and perhaps a detailed citation.
ArunSaha
@Alex B:Earlier i pasted the link.But for that user the link is not opening ..thats why ..i try to paste the content.
BE Student
This text is copyright Herb Sutter. Posting to Stack Overflow implies a creative commons license, and you *cannot* grant that license unless you're the copyright holder. If that's you, Mr. Sutter, then I'm sorry to bother you, please ignore me. Otherwise, I don't think this is fair use and I don't think it's appropriate to copy other people's work wholesale to SO (even with attribution), where it will be labelled with a license that SO is not authorised to grant.
Steve Jessop
@BE Student: I had to do a double-take. If you're going to post someone else's article verbatim, be *very clear*. I added an attribution besides the link… probably I should delete the content, but I'll flag instead so the moderator can decide if it's a copyright violation.
Potatoswatter
As a grad student, you should be VERY aware of this kind of thing.
Potatoswatter
@Potatoswatter,@Steve Jessop ,@ALex B:Earlier i pasted the link.But for that user the link is not opening ..thats why ..i try to paste the content.i already said why i pasted.I don't know that Pasting is a not a good job ..i mean it leads to copyright violation.sorry for that
BE Student