This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: hashtable cleanup + new testsuite files
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: François Dumont <frs dot dumont at gmail dot com>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Mon, 28 Nov 2011 22:54:43 +0100
- Subject: Re: hashtable cleanup + new testsuite files
- References: <4ED3EF2E.2000701@gmail.com>
On 11/28/2011 09:29 PM, François Dumont wrote:
2011-11-28 François Dumont <fdumont@gcc.gnu.org>
* include/bits/hashtable.h (_Hashtable<>::_M_rehash): Remove code
useless now that the hashtable implementation put the hash
code in
cache if the hash functor throws.
* testsuite/23_containers/unordered_set/erase/1.cc: Enhance
test by
checking also distance between begin and end iterators to
validate
underlying data model.
* testsuite/23_containers/unordered_multiset/erase/1.cc:
Likewise.
* testsuire/23_containers/unordered_map/erase/1.cc: Likewise.
* testsuite/23_containers/unordered_multimap/erase/1.cc:
Likewise.
* testsuite/23_containers/unordered_multiset/erase/2.cc: New.
* testsuite/23_containers/unordered_multimap/erase/2.cc: New.
Tested under linux x86_64.
Ok to commit in trunk ?
Ok, thanks.
Paolo.