hashtable_policy.h (_Local_iterator_base): Use _Hashtable_ebo_helper to embed functors into the local_iterator when necessary. 2013-01-28 François Dumont <fdumont@gcc.gnu.org> * include/bits/hashtable_policy.h (_Local_iterator_base): Use _Hashtable_ebo_helper to embed functors into the local_iterator when necessary. Pass information about functors involved in hash code by copy. * include/bits/hashtable.h (__cache_default): Do not cache for builtin integral types unless the hash functor is not noexcept qualified or is not default constructible. Adapt static assertions and local iterator instantiations. * include/debug/unordered_set (std::__debug::unordered_set<>::erase): Detect local iterators to invalidate using contained node rather than generating a dummy local_iterator instance. (std::__debug::unordered_multiset<>::erase): Likewise. * include/debug/unordered_map (std::__debug::unordered_map<>::erase): Likewise. (std::__debug::unordered_multimap<>::erase): Likewise. * testsuite/performance/23_containers/insert_erase/41975.cc: Test std::tr1 and std versions of unordered_set regardless of any macro. Add test on default cache behavior. * testsuite/performance/23_containers/insert/54075.cc: Likewise. * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adapt line number. * testsuite/23_containers/unordered_set/ not_default_constructible_hash_neg.cc: New. * testsuite/23_containers/unordered_set/buckets/swap.cc: New. From-SVN: r195517
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
array | Loading commit data... | |
bitset | Loading commit data... | |
debug.h | Loading commit data... | |
deque | Loading commit data... | |
formatter.h | Loading commit data... | |
forward_list | Loading commit data... | |
functions.h | Loading commit data... | |
list | Loading commit data... | |
macros.h | Loading commit data... | |
map | Loading commit data... | |
map.h | Loading commit data... | |
multimap.h | Loading commit data... | |
multiset.h | Loading commit data... | |
safe_base.h | Loading commit data... | |
safe_iterator.h | Loading commit data... | |
safe_iterator.tcc | Loading commit data... | |
safe_local_iterator.h | Loading commit data... | |
safe_local_iterator.tcc | Loading commit data... | |
safe_sequence.h | Loading commit data... | |
safe_sequence.tcc | Loading commit data... | |
safe_unordered_base.h | Loading commit data... | |
safe_unordered_container.h | Loading commit data... | |
safe_unordered_container.tcc | Loading commit data... | |
set | Loading commit data... | |
set.h | Loading commit data... | |
string | Loading commit data... | |
unordered_map | Loading commit data... | |
unordered_set | Loading commit data... | |
vector | Loading commit data... |