mirror of
https://github.com/boostorg/unordered.git
synced 2026-05-03 19:30:53 +02:00
Better hash function for unordered containers. Still a bit rubbish.
[SVN r47463]
This commit is contained in:
@@ -2294,7 +2294,7 @@ namespace boost {
|
||||
j = t.data_.buckets_end(); i != j; ++i)
|
||||
{
|
||||
for(link_ptr it(i->next_); BOOST_UNORDERED_BORLAND_BOOL(it); it = data::next_group(it))
|
||||
seed ^= group_hash(t, it, (type_wrapper<V>*)0);
|
||||
seed += group_hash(t, it, (type_wrapper<V>*)0);
|
||||
}
|
||||
|
||||
return seed;
|
||||
|
||||
Reference in New Issue
Block a user