equality operators on types

Timon Gehr timon.gehr at gmx.ch
Sat Jun 16 04:47:05 PDT 2012


On 06/16/2012 02:48 AM, Walter Bright wrote:
> On 6/15/2012 5:11 AM, Timon Gehr wrote:
>> Why not allow equality operators to operate on types?
>
> Generally because of parsing problems.

By the way, 'is' expressions are not immune to parsing issues:
http://d.puremagic.com/issues/show_bug.cgi?id=6589


More information about the Digitalmars-d mailing list