Fawzi Mohamed wrote:
I think that the public interface should be exposed (or re-exposed) somewhere to the outside so that one can easily create efficient hashes for user defined types. For example it is nice to be able to chain hash functions (something that the default one does not allow).

Just overload the toHash() function for your user-defined type to be whatever you want it to be.

Reply via email to