equality operators on types
Timon Gehr
timon.gehr at gmx.ch
Sat Jun 16 04:39:09 PDT 2012
On 06/16/2012 07:24 AM, Bernard Helyer wrote:
> Of course, "T == int" is unambiguous, but then when you can do that and
> not "T == J" you'll confuse people ("the compiler knows T and J are
> types...") and that rabbit hole is a dangerous one. Mainly because it
> makes parsing more difficult. I am nothing if not biased. :P
If done right, it makes parsing easier.
More information about the Digitalmars-d
mailing list