[Issue 5893] Allow simple aliases for operator overloading

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 5 17:33:08 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=5893



--- Comment #7 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-05 17:33:07 PST ---
(In reply to comment #6)
>    template opOpAssign(string s) if (s == "~")  // FIXED

This is actually worthy of an enhancement. If "~=" is found in opOpAssign the
compiler should inform the user to use "~" instead. The same goes for +=, etc.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list