Jacob Carlborg:

If the struct already has opCmp I need to defined opEquals and toHash?

From what I know, the new hash protocol requires toHash and opEquals. I think that now opCmp is not used by hashing. I don't know if you define just toHash and opCmp it uses opCmp as fallback.

Bye,
bearophile

Reply via email to