aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2014-01-23 17:17:04 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2014-01-23 17:17:04 +0000
commit6a5839c84159d8c513959aad6d40e591315c0092 (patch)
tree47cf2c8686043d9391364d3de8bf7968d7a53e60 /gcc
parentea0f1fc8e4414c655d03febbb63536ab9225e250 (diff)
downloadgcc-6a5839c84159d8c513959aad6d40e591315c0092.zip
gcc-6a5839c84159d8c513959aad6d40e591315c0092.tar.gz
gcc-6a5839c84159d8c513959aad6d40e591315c0092.tar.bz2
re PR libstdc++/59872 (Cannot move std::map with move-only mapped_type)
PR libstdc++/59872 * include/bits/stl_map.h (map::operator=(map&&)): Fix comment. * include/bits/stl_multimap.h (multimap::operator=(multimap&&)): Likewise. * include/bits/stl_multiset.h (multiset::operator=(multiset&&)): Likewise. * include/bits/stl_set.h (set::operator=(set&&)): Likewise. * include/bits/stl_tree.h (_Rb_tree::_M_move_data): New overloaded functions to perform moving or copying of elements from rvalue tree. (_Rb_tree::_Rb_tree(_Rb_tree&&)): Use _M_move_data. (_Rb_tree::_Rb_tree(_Rb_tree&&, _Node_allocator&&)): Likewise. * testsuite/23_containers/map/59872.cc: New. * testsuite/23_containers/map/56613.cc: Remove duplicate include. From-SVN: r206994
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions