Operators overloading in D2 again
Dan
daniele.niero at gmail.com
Mon May 3 07:28:20 PDT 2010
Hi,
it certainly helps. However I can't help myself, I still thinking that this is the most complicated, hard read and to understand way to
overload operators. Maybe there is something I'm missing but I can't really see the reason of all that. Other languages adopts a much
easier approach, for example python but also C++ that D is trying to surpass (and it does in most cases) when it comes to operator
overloading is much more clear than D.
I still thinking that the D1's approach was much better than this.
Anyway, now I have another problem: I can't get how to overload operators like these <=, <, >=, >.
I read the documentation but I can't really understand it.
Thanks for the precious help guys.
DAniele
More information about the Digitalmars-d-learn
mailing list