On 11/07/2012 07:38 AM, "Raphaël.Jakse" <raphael.ja...@gmail.com>"@puremagic.com wrote:
We want to be able to get the hash of s. Therefore, we re-implement the toHash
method of the Student class :

OK, now I'm curious. Assuming I don't write a custom re-implementation, how would a custom struct or class be hashed? (What about a tuple?)

I ask because I'm considering associative arrays where the key is a custom class or tuple as part of a current coding project.

Reply via email to