hashtable.h (_Hashtable<>::__rehash_policy(const _RehashPolicy&)): Commit the modific...
authorFrançois Dumont <fdumont@gcc.gnu.org>
Sat, 17 Sep 2011 09:12:24 +0000 (09:12 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Sat, 17 Sep 2011 09:12:24 +0000 (09:12 +0000)
commit1c56f7cb72978a9b92beb1903a6f5b2f371c0ebd
tree61b2d732f425b25d21ff17fc77c5100c1255f1cf
parentab2fd9953bad95e662e70215b955d13db538fd2d
hashtable.h (_Hashtable<>::__rehash_policy(const _RehashPolicy&)): Commit the modification of the policy only if no exception occured.

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.

From-SVN: r178927
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]