gcc/libstdc++-v3
Jonathan Wakely 50748fad7c PR libstdc++/82522 overload map insert functions for rvalues (LWG 2354)
Backport from mainline
2017-10-13  Jonathan Wakely  <jwakely@redhat.com>

	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: r255330
2017-12-01 17:50:59 +00:00
..
config PR libstdc++/81751 don't call fflush(NULL) 2017-08-14 13:14:09 +01:00
doc PR libstdc++/82522 overload map insert functions for rvalues (LWG 2354) 2017-12-01 17:50:59 +00:00
include PR libstdc++/82522 overload map insert functions for rvalues (LWG 2354) 2017-12-01 17:50:59 +00:00
libsupc++ PR libstdc++/81835 fix broken URLs in libstdc++ docs 2017-09-13 11:07:25 +01:00
po
python Adjust optional's pretty printer for LWG 2900. 2017-03-29 15:05:50 +03:00
scripts
src Fix alignment bugs in std::codecvt_utf16 2017-03-17 19:28:05 +00:00
testsuite PR libstdc++/82522 overload map insert functions for rvalues (LWG 2354) 2017-12-01 17:50:59 +00:00
acinclude.m4 PR libstdc++/81092 add std::wstring symbols and bump library version 2017-06-16 13:18:53 +01:00
aclocal.m4
ChangeLog PR libstdc++/82522 overload map insert functions for rvalues (LWG 2354) 2017-12-01 17:50:59 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
config.h.in
configure PR libstdc++/81092 Regenerate configure for libtool_VERSION change 2017-06-21 09:55:52 +01:00
configure.ac
configure.host
crossconfig.m4
fragment.am
linkage.m4
Makefile.am
Makefile.in
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.