[Issue 13179] AA key type TagIndex now requires equality rather than comparison

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Oct 15 11:57:50 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13179

--- Comment #35 from Martin Nowak <code at dawg.eu> ---
> See: http://forum.dlang.org/post/lqv16p$1cr0$1@digitalmars.com

OK, problem solved.
I'd also like to amend that if a struct defines opCmp we'll still use the
compiler generated xToHash, i.e. compute the hash over all fields.
So it's even more unlikely that anyone successfully used a struct with only
opCmp as hash key.

--


More information about the Digitalmars-d-bugs mailing list