Go to file
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
INSTALL
config Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
contrib Handle libbacktrace in contrib/gcc_update 2017-10-02 13:58:11 +02:00
fixincludes Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
gcc RTEMS/Ada: Fix some POSIX types 2017-12-01 11:03:24 +00:00
gnattools Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
gotools Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
include Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
intl Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libada Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libatomic Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libbacktrace elf.c: Fix typo in the last commit, SFH_COMPRESSED vs SHF_COMPRESSED. 2017-10-10 19:58:49 +00:00
libcc1 Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libcilkrts Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libcpp Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libdecnumber Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libffi Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libgcc Adapt Solaris 12 references 2017-11-21 09:31:12 +00:00
libgfortran backport: re PR libfortran/78549 (Very slow formatted internal file output) 2017-11-23 17:19:18 +00:00
libgo Adapt Solaris 12 references 2017-11-21 09:31:12 +00:00
libgomp backport: re PR c++/81314 (Undefined reference to a function with -fopenmp) 2017-09-15 13:27:07 +02:00
libhsail-rt Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libiberty Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libitm Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libmpx Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libobjc Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
liboffloadmic Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libquadmath Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libsanitizer re PR sanitizer/82595 (bootstrap fails in libsanitizer on powerpc64-unknown-linux-gnu) 2017-10-20 10:01:31 +02:00
libssp Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libstdc++-v3 PR libstdc++/82522 overload map insert functions for rvalues (LWG 2354) 2017-12-01 17:50:59 +00:00
libvtv Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
lto-plugin Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
maintainer-scripts Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
zlib Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
ChangeLog Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
MAINTAINERS Add RISC-V Maintainers 2017-03-20 16:11:32 +00:00
Makefile.def re PR bootstrap/77661 (--enable-maintainer-mode causes in-tree-build of MPC to fail) 2017-04-19 18:49:29 +00:00
Makefile.in re PR bootstrap/77661 (--enable-maintainer-mode causes in-tree-build of MPC to fail) 2017-04-19 18:49:29 +00:00
Makefile.tpl Restore Graphite fuse-*.c testing 2017-02-15 15:43:42 +01:00
README
compile
config-ml.in
config.guess * config.guess: Import latest from upstream. 2017-03-18 18:22:06 +00:00
config.rpath
config.sub
configure configure.ac: Enable LTO by default on darwin >= 9. 2017-03-22 17:51:18 +00:00
configure.ac configure.ac: Enable LTO by default on darwin >= 9. 2017-03-22 17:51:18 +00:00
depcomp
install-sh
libtool-ldflags
libtool.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
missing
mkdep
mkinstalldirs
move-if-change
symlink-tree
ylwrap

README

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.