On Fri, 27 May 2011 09:22:01 -0400, Andrej Mitrovic
<[email protected]> wrote:
On 5/27/11, Matthew Ong <[email protected]> wrote:
http://www.digitalmars.com/d/2.0/operatoroverloading.html # people done
C++ can understand others may not.
Well, explaining the concept of operator overloading should be a
separate topic. People who know what operator overloading is will look
in the language docs to figure out the syntax and use it right away.
Doesn't Java have operator overloading? A lot of popular languages
except maybe C have it, I think.
Last I checked they do not. It's why the String class has charAt instead
of an equivalent opIndex.
-Steve