AA with complex keytype?
Manfred Nowak
svv1999 at hotmail.com
Sun Feb 11 06:17:33 PST 2007
Frits van Bommel wrote
> So the implementation needs to be careful about parameter order,
That's right. The value stemming from the collision bucket has to be at
a fixed parameter position on all calls of opCmp. But this can be
easily verified by inserting and retrieving two elements under a
worthless toHash.
> Since the API doesn't specify this
That's also right. But this also can be fixed easily.
-manfred
More information about the Digitalmars-d
mailing list