[Issue 13179] AA key type TagIndex now requires equality rather than comparison
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jul 23 07:42:59 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13179
--- Comment #6 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Jacob Carlborg from comment #5)
> opCmp was added because of a regression in 2.065.0 and now it's changed
> again.
So you can just remove opCmp completely. For the struct
struct TagIndex
{
uint tag, index;
}
In 2.066 AA will use default member-wise equality and hasing.
--
More information about the Digitalmars-d-bugs
mailing list