]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libstdc++/61143 (Arithmetic exception on emplacing into unordered_map moved...
authorFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 21 May 2014 19:51:05 +0000 (19:51 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 21 May 2014 19:51:05 +0000 (19:51 +0000)
commit95539f21f508d6d928d9888be2a5984a684a3288
treeda97a8e92cd69f84cf796558e5813462fef6f6fc
parent9652331a6ba454d402b1df6317d65ab56c1dff5d
re PR libstdc++/61143 (Arithmetic exception on emplacing into unordered_map moved out)

2014-05-21  François Dumont  <fdumont@gcc.gnu.org>

PR libstdc++/61143
* include/bits/hashtable.h: Fix move semantic to leave hashtable in a
usable state.
* testsuite/23_containers/unordered_set/61143.cc: New.
* testsuite/23_containers/unordered_set/modifiers/swap.cc: New.

From-SVN: r210726
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/hashtable.h
libstdc++-v3/testsuite/23_containers/unordered_set/61143.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/swap.cc [new file with mode: 0644]