On Wednesday, 4 December 2013 at 13:39:32 UTC, Ary Borenszweig wrote:
That's nice.

Of course, it's not needed if you overload "+" for the int type to receive a complex.

The point is that D does not have operator overloading for in-built types. The unnecessary one is the global operator overload you suggest, as it is more intrusive than `opBinaryRight`.

Reply via email to