Overloading relational operators separately; thoughts?

Sai via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 30 16:31:19 PDT 2016


>    a.isLessThan(b)


I understand the concern of possible mess due to unrestricted use 
of operator overloading (like C++). Java has clearly driven the 
point home by banning the operator overloading altogether.

Genuine question: In the post Java languages, how many languages 
allowed unrestricted operator overloading and did that cause any 
similar mess?

Thanks in advance for any answers.




More information about the Digitalmars-d mailing list