Name |
Last commit
|
Last update |
---|---|---|
.. | ||
array | ||
bitset | ||
deque | ||
forward_list | ||
headers | ||
list | ||
map | ||
multimap | ||
multiset | ||
priority_queue | ||
queue | ||
set | ||
stack | ||
unordered_map | ||
unordered_multimap | ||
unordered_multiset | ||
unordered_set | ||
vector |
2016-06-20 François Dumont <fdumont@gcc.gnu.org> PR libstdc++/71181 * include/tr1/hashtable_policy.h (_Prime_rehash_policy::_M_next_bkt): Make past-the-end iterator dereferenceable to avoid check on lower_bound result. (_Prime_rehash_policy::_M_bkt_for_elements): Call latter. (_Prime_rehash_policy::_M_need_rehash): Likewise. * src/c++11/hashtable_c++0x.cc (_Prime_rehash_policy::_M_next_bkt): Always return a value greater than input value. Set _M_next_resize to max value when reaching highest prime number. * src/shared/hashtable-aux.cc (__prime_list): Add comment about sentinel being now useless. * testsuite/23_containers/unordered_set/hash_policy/71181.cc: New. * testsuite/23_containers/unordered_set/hash_policy/power2_rehash.cc (test02): New. * testsuite/23_containers/unordered_set/hash_policy/prime_rehash.cc: New. * testsuite/23_containers/unordered_set/hash_policy/rehash.cc: Fix indentation. From-SVN: r237617
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
array | Loading commit data... | |
bitset | Loading commit data... | |
deque | Loading commit data... | |
forward_list | Loading commit data... | |
headers | Loading commit data... | |
list | Loading commit data... | |
map | Loading commit data... | |
multimap | Loading commit data... | |
multiset | Loading commit data... | |
priority_queue | Loading commit data... | |
queue | Loading commit data... | |
set | Loading commit data... | |
stack | Loading commit data... | |
unordered_map | Loading commit data... | |
unordered_multimap | Loading commit data... | |
unordered_multiset | Loading commit data... | |
unordered_set | Loading commit data... | |
vector | Loading commit data... |