aboutsummaryrefslogtreecommitdiff
path: root/libgcc/libgcc2.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-10-13 13:39:32 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2017-10-13 13:39:32 +0100
commit3b0dd4fea23a695df1fb9a7e5c7017f9d1f1ea84 (patch)
tree577f22b69c5c79b24129aaf4a95511b3e286e753 /libgcc/libgcc2.c
parentd1e85aa999ab87009fa02a5261754fbaa69206f2 (diff)
downloadgcc-3b0dd4fea23a695df1fb9a7e5c7017f9d1f1ea84.zip
gcc-3b0dd4fea23a695df1fb9a7e5c7017f9d1f1ea84.tar.gz
gcc-3b0dd4fea23a695df1fb9a7e5c7017f9d1f1ea84.tar.bz2
PR libstdc++/82522 overload map insert functions for rvalues (LWG 2354)
PR libstdc++/82522 * doc/xml/manual/intro.xml: Document LWG 2354 changes. * include/bits/stl_map.h (map::insert(value_type&&)) (map::insert(const_iterator, value_type&&)): Add overload for rvalues. * include/bits/stl_multimap.h (multimap::insert(value_type&&)) (multimap::insert(const_iterator, value_type&&)): Likewise. * include/bits/unordered_map.h (unordered_map::insert(value_type&&)) (unordered_map::insert(const_iterator, value_type&&)) (unordered_multimap::insert(value_type&&)) (unordered_multimap::insert(const_iterator, value_type&&)): Likewise. * testsuite/23_containers/map/modifiers/insert/dr2354.cc: New test. * testsuite/23_containers/multimap/modifiers/insert/dr2354.cc: New test. * testsuite/23_containers/unordered_map/insert/dr2354.cc: New test. * testsuite/23_containers/unordered_multimap/insert/dr2354.cc: New test. From-SVN: r253725
Diffstat (limited to 'libgcc/libgcc2.c')
0 files changed, 0 insertions, 0 deletions