2014-05-21 François Dumont <fdumont@gcc.gnu.org>
commit54b755d349d17bb197511529746cd7cf8ea761c1
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 May 2014 19:51:05 +0000 (21 19:51 +0000)
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 May 2014 19:51:05 +0000 (21 19:51 +0000)
treeda97a8e92cd69f84cf796558e5813462fef6f6fc
parentd8bb54e9f16cfcb99a6f74aa9e0dc67306c9a7a4
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210726 138bc75d-0d04-0410-961f-82ee72b054a4
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]