Jacob Carlborg:

"Error: AA key type TagIndex now requires equality rather than comparison"

Hashing protocol has being finally fixed.


What exactly do I need to define to have a struct with two ints working as a key in an associative array?

opEquals and opHash. But if your struct has only two ints as fields, it should work even if you don't define both methods.

Bye,
bearophile

Reply via email to