C++ is a powerful language and I want to know about operator overloading .Can someone tell me the points to consider while doing or while using the concept of operator overloading.
Printable View
C++ is a powerful language and I want to know about operator overloading .Can someone tell me the points to consider while doing or while using the concept of operator overloading.
This is a very big concept to put all the points. But to say in short for you Operator overloading is a concept in which a single operator can take up several functions as desired by programmers depending on the argument taken by the operator.
Here are some useful refferences. You'll get millions if you hit a google search.
[URL="http://msdn2.microsoft.com/en-us/library/5tk49fh2.aspx"]http://msdn2.microsoft.com/en-us/library/5tk49fh2.aspx[/URL]
Here's the wiki link...
[url=http://en.wikipedia.org/wiki/Operator_overloading]Operator overloading - Wikipedia, the free encyclopedia[/url]
Cheers,
Kalayama