equality operators on types

bearophile bearophileHUGS at lycos.com
Fri Jun 15 10:34:15 PDT 2012


Timon Gehr:

> On 06/15/2012 02:19 PM, bearophile wrote:
>> Timon Gehr:
>>
>>> Why not allow equality operators to operate on types?
>>
>> That's nice, of course. But is it possible?
>>
>
> Yes, certainly.

OK. Then do you know why the nice improvement you suggest was not 
the design used since the beginning instead of is(==)?

Bye,
bearophile


More information about the Digitalmars-d mailing list