This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r239702 - in /branches/gcc-6-branch/libstdc++-v...
- From: redi at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Tue, 23 Aug 2016 14:21:17 -0000
- Subject: r239702 - in /branches/gcc-6-branch/libstdc++-v...
Author: redi
Date: Tue Aug 23 14:21:16 2016
New Revision: 239702
URL: https://gcc.gnu.org/viewcvs?rev=239702&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.
* testsuite/23_containers/map/77334.cc: New test.
Added:
branches/gcc-6-branch/libstdc++-v3/testsuite/23_containers/map/77334.cc
Modified:
branches/gcc-6-branch/libstdc++-v3/ChangeLog
branches/gcc-6-branch/libstdc++-v3/include/bits/stl_tree.h