re PR libstdc++/24054 (std::tr1::unordered_map's erase does not seem to return a...
authorPaolo Carlini <pcarlini@suse.de>
Sun, 2 Oct 2005 10:20:16 +0000 (10:20 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 2 Oct 2005 10:20:16 +0000 (10:20 +0000)
commite7dbb3ee6bced9f888758c62aad6d4ab9c04db36
tree549088803bbd5165bcd66b3c90f7d13373684086
parent746077ffa54f6b711bd93aba1653519c12d5fbcf
re PR libstdc++/24054 (std::tr1::unordered_map's erase does not seem to return a value)

2005-10-02  Paolo Carlini  <pcarlini@suse.de>

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.

From-SVN: r104867
libstdc++-v3/ChangeLog
libstdc++-v3/include/tr1/hashtable
libstdc++-v3/testsuite/tr1/6_containers/unordered/hashtable/24054.cc [new file with mode: 0644]