http://d.puremagic.com/issues/show_bug.cgi?id=9771



--- Comment #5 from [email protected] 2013-03-22 19:30:38 PDT ---
Also, if the default behaviour of == for structs is to do bitwise comparison,
then I think it justifies defining toHash for structs that just hashes the bit
representation of the struct. It certainly beats having to define toHash for
every single little helper struct that you write, just so you can use it in an
AA. (That's what really turned me off in C++11's unordered_map -- so much
verbosity for something that's supposed to be simple.)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to