------- Comment #6 from cvs-commit at gcc dot gnu dot org 2005-10-04 10:54 ------- Subject: Bug 24064
CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-10-04 10:54:11 Modified files: libstdc++-v3 : ChangeLog libstdc++-v3/include/tr1: hashtable Added files: libstdc++-v3/testsuite/tr1/6_containers/unordered/hashtable: 24054.cc 24064.cc libstdc++-v3/testsuite/tr1/6_containers/unordered/types: map_iterator.cc multimap_iterator.cc multiset_iterator.cc set_iterator.cc Log message: 2005-10-04 Paolo Carlini <[EMAIL PROTECTED]> * include/tr1/hashtable (node_iterator::node_iterator(const node_iterator<,true,>&)): Fix to take a "false" (i.e., is_const == false) node_iterator. (hashtable_iterator::hashtable_iterator(const hashtable_iterator<, true,>&)): Likewise for hashtable_iterator. (hashtable::const_local_iterator): Fix typedef (is_const == true). (hashtable::const_iterator): Likewise. * testsuite/tr1/6_containers/unordered/types/map_iterator.cc: New. * testsuite/tr1/6_containers/unordered/types/multimap_iterator.cc: New. * testsuite/tr1/6_containers/unordered/types/set_iterator.cc: New. * testsuite/tr1/6_containers/unordered/types/multiset_iterator.cc: New. 2005-10-04 Paolo Carlini <[EMAIL PROTECTED]> PR libstdc++/24054 * include/tr1/hashtable (erase(const key_type&)): Return the number of elements erased. * testsuite/tr1/6_containers/unordered/hashtable/24054.cc: New. 2005-10-04 Paolo Carlini <[EMAIL PROTECTED]> PR libstdc++/24064 * include/tr1/hashtable (hash_code_base<>::store_code): Add. (hashtable<>::insert(const value_type&)): Use it. * testsuite/tr1/6_containers/unordered/hashtable/24064.cc: New. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.2917.2.92&r2=1.2917.2.93 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/tr1/hashtable.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3.4.3&r2=1.3.4.4 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/tr1/6_containers/unordered/hashtable/24054.cc.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/tr1/6_containers/unordered/hashtable/24064.cc.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/tr1/6_containers/unordered/types/map_iterator.cc.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/tr1/6_containers/unordered/types/multimap_iterator.cc.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/tr1/6_containers/unordered/types/multiset_iterator.cc.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/tr1/6_containers/unordered/types/set_iterator.cc.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24064