r228090 - in /trunk/libstdc++-v3: ChangeLog inc...
redi@gcc.gnu.org
redi@gcc.gnu.org
Thu Sep 24 15:46:00 GMT 2015
Author: redi
Date: Thu Sep 24 15:46:24 2015
New Revision: 228090
URL: https://gcc.gnu.org/viewcvs?rev=228090&root=gcc&view=rev
Log:
Leave moved-from std::deque in a valid state
PR libstdc++/67707
* include/bits/stl_deque.h (_Deque_base::_M_move_impl): Initialize
empty object.
* testsuite/23_containers/deque/allocator/move.cc: Check moved-from
deque.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/stl_deque.h
trunk/libstdc++-v3/testsuite/23_containers/deque/allocator/move.cc
More information about the Libstdc++-cvs
mailing list