r208494 - in /branches/gcc-4_8-branch/libstdc++...

redi@gcc.gnu.org redi@gcc.gnu.org
Tue Mar 11 19:23:00 GMT 2014


Author: redi
Date: Tue Mar 11 19:23:04 2014
New Revision: 208494

URL: http://gcc.gnu.org/viewcvs?rev=208494&root=gcc&view=rev
Log:
	Backport from mainline.

	2014-01-09  Jonathan Wakely  <jwakely@redhat.com>

	PR libstdc++/59738
	* include/bits/stl_vector.h (vector<>::_M_move_assign): Restore
	support for non-Movable types.

	2014-01-08  François Dumont  <fdumont@gcc.gnu.org>

	* include/bits/stl_vector.h (std::vector<>::_M_move_assign): Pass
	*this allocator instance when building temporary vector instance
	so that *this allocator does not get moved.
	* testsuite/23_containers/vector/allocator/move.cc (test01): Add
	check on a vector iterator.
	* testsuite/23_containers/vector/allocator/move_assign.cc
	(test02): Likewise.
	(test03): New, test with a non-propagating allocator.

	2013-11-15  Jonathan Wakely  <jwakely.gcc@gmail.com>

	* testsuite/23_containers/vector/allocator/move.cc: New

Added:
    branches/gcc-4_8-branch/libstdc++-v3/testsuite/23_containers/vector/allocator/move.cc
      - copied, changed from r208492, branches/gcc-4_8-branch/libstdc++-v3/testsuite/23_containers/vector/allocator/move_assign.cc
Modified:
    branches/gcc-4_8-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_8-branch/libstdc++-v3/include/bits/stl_vector.h
    branches/gcc-4_8-branch/libstdc++-v3/testsuite/23_containers/vector/allocator/move_assign.cc



More information about the Libstdc++-cvs mailing list