Re: [boost] Re: [review] hash functions

22 Mar
2005
22 Mar
'05
5:31 p.m.
In-Reply-To: <007b01c52ede$3ceefd80$6501a8c0@pdimov2> pdimov@mmltd.net (Peter Dimov) wrote (abridged):
So, in my opinion, your original suggestion is still the best one, even though I did not seem to agree at first. ;-)
OK.
If not, then maybe we should have a hash_combine that just combines hashes. At the moment the combining is mixed in with the getting; it's not a very orthogonal API.
... yes, hash_value( size_t ) is the identity function partly for this reason.
Cool. (And this is another argument for adding the non-zero fix in hash_combine rather than hash_value.) -- Dave Harris, Nottingham, UK
7390
Age (days ago)
7390
Last active (days ago)
0 comments
1 participants
participants (1)
-
brangdon@cix.compulink.co.uk