https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82522
--- Comment #8 from François Dumont <fdumont at gcc dot gnu.org> --- Author: fdumont Date: Wed Dec 20 21:53:25 2017 New Revision: 255904 URL: https://gcc.gnu.org/viewcvs?rev=255904&root=gcc&view=rev Log: 2017-12-20 François Dumont <fdum...@gcc.gnu.org> PR libstdc++/82522 * include/debug/map.h (map::insert(value_type&&)) (map::insert(const_iterator, value_type&&)): Add overload for rvalues. * include/debug/multimap.h (multimap::insert(value_type&&)) (multimap::insert(const_iterator, value_type&&)): Likewise. * include/debug/unordered_map (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 (test02): New. * testsuite/23_containers/multimap/modifiers/insert/dr2354.cc (test02): New. * testsuite/23_containers/unordered_map/insert/dr2354.cc (test02): New. * testsuite/23_containers/unordered_multimap/insert/dr2354.cc (test02): New. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/debug/map.h trunk/libstdc++-v3/include/debug/multimap.h trunk/libstdc++-v3/include/debug/unordered_map trunk/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/dr2354.cc trunk/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/dr2354.cc trunk/libstdc++-v3/testsuite/23_containers/unordered_map/insert/dr2354.cc trunk/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/dr2354.cc