r239701 - in /branches/gcc-5-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Tue Aug 23 14:20:00 GMT 2016


Author: redi
Date: Tue Aug 23 14:20:50 2016
New Revision: 239701

URL: https://gcc.gnu.org/viewcvs?rev=239701&root=gcc&view=rev
Log:
libstdc++/77334 move assign RB trees of non-copyable types

	PR libstdc++/77334
	* include/bits/stl_tree.h (_Rb_tree::_M_move_assign): New functions.
	(_Rb_tree::operator=(_Rb_tree&&)): Dispatch to _M_move_assign.
	Include _Compare in noexcept.
	* testsuite/23_containers/map/77334.cc: New test.

Added:
    branches/gcc-5-branch/libstdc++-v3/testsuite/23_containers/map/77334.cc
Modified:
    branches/gcc-5-branch/libstdc++-v3/ChangeLog
    branches/gcc-5-branch/libstdc++-v3/include/bits/stl_tree.h



More information about the Libstdc++-cvs mailing list