equality operators on types

Bernard Helyer b.helyer at gmail.com
Fri Jun 15 22:24:35 PDT 2012


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


More information about the Digitalmars-d mailing list