2011-09-17 François Dumont <fdumont@gcc.gnu.org>
commitcce13f123e5afc2483549433762bb38ab0896ae4
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Sep 2011 09:12:24 +0000 (17 09:12 +0000)
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Sep 2011 09:12:24 +0000 (17 09:12 +0000)
tree61b2d732f425b25d21ff17fc77c5100c1255f1cf
parentf4d8a59e6df004c4f4cb23cd0267a18ce6f3953c
2011-09-17  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/hashtable.h (_Hashtable<>::__rehash_policy(const
_RehashPolicy&)): Commit the modification of the policy only if no
exception occured.
* testsuite/23_containers/unordered_set/max_load_factor/robustness.cc:
New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178927 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/hashtable.h
libstdc++-v3/testsuite/23_containers/unordered_set/max_load_factor/robustness.cc [new file with mode: 0644]