WAT: opCmp and opEquals woes

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 25 13:03:44 PDT 2014


On 2014-07-25 15:51, H. S. Teoh via Digitalmars-d wrote:

> AA's don't care about keys being orderable, all they care about is that
> keys should have a hash value, and be comparable. It was a mistake to
> use opCmp for AA keys in the first place. We're now fixing this mistake.

I'm responding to Jonathan's claims that types that defined opCmp but 
not opEquals are broken.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list