Patrick Palka 2b87f3318c libstdc++: Non-triv-copyable extra args aren't simple [PR100940]
This force-enables perfect forwarding call wrapper semantics whenever
the extra arguments of a partially applied range adaptor aren't all
trivially copyable, so as to avoid incurring unnecessary copies of
potentially expensive-to-copy objects (such as std::function objects)
when invoking the adaptor.

	PR libstdc++/100940

libstdc++-v3/ChangeLog:

	* include/std/ranges (__adaptor::_Partial): For the "simple"
	forwarding partial specializations, also require that
	the extra arguments are trivially copyable.
	* testsuite/std/ranges/adaptors/100577.cc (test04): New test.
2021-06-17 09:46:07 -04:00
2021-05-26 00:16:41 +00:00
2021-06-15 00:16:37 +00:00
2021-06-14 00:16:35 +00:00
2021-05-08 00:16:27 +00:00
2021-05-07 00:16:33 +00:00
2021-06-15 00:16:37 +00:00
2021-05-04 00:16:53 +00:00
2021-05-06 00:16:37 +00:00
2021-04-07 00:16:39 +00:00
2021-06-17 00:16:54 +00:00
2021-05-04 00:16:53 +00:00
2021-06-17 00:16:54 +00:00
2021-06-12 00:16:27 +00:00
2021-06-09 00:16:30 +00:00
2021-06-10 14:41:23 -07:00
2021-06-06 00:16:22 +00:00
2021-05-26 00:16:41 +00:00
2021-06-12 00:16:27 +00:00
2021-06-09 00:16:30 +00:00
2021-05-22 00:16:29 +00:00
2021-05-11 00:16:36 +00:00
2021-05-15 00:16:27 +00:00
2021-06-06 00:16:22 +00:00
2021-05-29 10:59:54 -04:00
2021-05-29 10:59:54 -04:00
2021-05-18 17:45:19 -04:00
2021-05-18 17:45:19 -04:00

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.
Description
No description provided
Readme 4.2 GiB
Languages
C++ 30.7%
C 30.2%
Ada 14.4%
D 6.1%
Go 5.7%
Other 12.4%