Do not assume allocator is assignable.
commit6ba5b1e2a826547271597102486fca4f15f18e31
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Nov 2014 03:41:12 +0000 (4 03:41 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Nov 2014 03:41:12 +0000 (4 03:41 +0000)
tree4974da02582417a26cb10fce26993c5ac310bfb8
parent60f7840a4bb9c9c822f4b19c20549d93ec89a309
Do not assume allocator is assignable.

* include/bits/stl_deque.h (_Deque_base(_Deque_base&&)): Copy
allocator instead of moving.
* testsuite/23_containers/deque/allocator/move-2.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217068 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_deque.h
libstdc++-v3/testsuite/23_containers/deque/allocator/move-2.cc [new file with mode: 0644]