[Issue 8062] UFCS and operator overloading

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 13 12:35:11 PDT 2012


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



--- Comment #4 from timon.gehr at gmx.ch 2012-06-13 12:37:21 PDT ---
(In reply to comment #3)
> 
> My bad, I actually meant it a.fn ---> fn(a,...) way. Which brings us to the
> point  - request is Invalid then?

I don't think it is invalid.

a + b -> a.opBinary!"+"(b) -> opBinary!"+"(a, b);

Probably this is on the borderline between bug and enhancement request -- I
think the documentation can be interpreted either way.

-- 
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