2010-02-11 Paolo Carlini <paolo.carlini@oracle.com>
commit2289c2a5ae59bca9477dcd8e1f2a74d09f91a154
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Feb 2010 18:11:01 +0000 (11 18:11 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Feb 2010 18:11:01 +0000 (11 18:11 +0000)
tree9d2d8fe8b7b6404b007b8252226cfac5e01caf63
parent50b9db1a88275264c8d60b614a53289d9e460ecd
2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/41975, DR 579
* include/bits/hashtable.h (_Hashtable<>::_M_erase_node): Remove.
(erase(const_iterator), erase(const_iterator, const_iterator)):
Change return type to void.
* include/debug/unordered_map: Adjust.
* include/debug/unordered_set: Likewise.
* testsuite/util/exception/safety.h: Likewise.
* testsuite/23_containers/unordered_map/erase/1.cc: Likewise.
* testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise.
* testsuite/23_containers/unordered_set/erase/1.cc:  Likewise.
* testsuite/23_containers/unordered_set/erase/24061-map.cc: Likewise.
* testsuite/23_containers/unordered_multimap/erase/1.cc:  Likewise.
* testsuite/23_containers/unordered_multimap/erase/24061-map.cc:
Likewise.
* testsuite/23_containers/unordered_multiset/erase/1.cc:  Likewise.
* testsuite/23_containers/unordered_multiset/erase/24061-map.cc:
Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156705 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/hashtable.h
libstdc++-v3/include/debug/unordered_map
libstdc++-v3/include/debug/unordered_set
libstdc++-v3/testsuite/23_containers/unordered_map/erase/1.cc
libstdc++-v3/testsuite/23_containers/unordered_map/erase/24061-map.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/1.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/24061-multimap.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/1.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/24061-multiset.cc
libstdc++-v3/testsuite/23_containers/unordered_set/erase/1.cc
libstdc++-v3/testsuite/23_containers/unordered_set/erase/24061-set.cc
libstdc++-v3/testsuite/util/exception/safety.h