gcc/libstdc++-v3
Patrick Palka c1ce418af2 libstdc++: Simplify copy-pasted algorithms in <ranges>
The <ranges> header currently copies some simple algorithms from
<bits/ranges_algo.h>, which was originally done in order to avoid a
circular dependency with the header.  This is no longer an issue since
the latter header now includes <bits/ranges_util.h> instead of all of
<ranges>.

This means we could now just include <bits/ranges_algo.h> and remove the
copied algorithms, but that'd increase the size of <ranges> by ~10%.
And we can't use the corresponding STL-style algorithms here because
they assume input iterators are copyable.  So this patch instead
simplifies these copied algorithms, removing their constraints and
unused parameters, and keeps them around.  In a subsequent patch we're
going to copy (a simplified version of) ranges::find into <ranges> as
well.

libstdc++-v3/ChangeLog:

	* include/std/ranges (__detail::find_if): Simplify.
	(__detail::find_if_not): Likewise.
	(__detail::min): Remove.
	(__detail::mismatch): Simplify.
	(take_view::size): Use std::min instead of __detail::min.
2021-04-08 16:45:25 -04:00
..
config libstdc++: Remove symbols for new std::call_once implementation [PR 99341] 2021-03-16 12:25:28 +00:00
doc libstdc++: Improve error reporting if PDF generation fails 2021-04-08 21:42:59 +01:00
include libstdc++: Simplify copy-pasted algorithms in <ranges> 2021-04-08 16:45:25 -04:00
libsupc++ libstdc++: Fix doxygen markup for group close commands 2021-04-06 16:43:24 +01:00
po
python libstdc++: Fix find_type helper to work consistently 2021-03-11 17:52:56 +00:00
scripts
src libstdc++: Fix filesystem::path construction from COW string [PR 99805] 2021-04-07 16:39:24 +01:00
testsuite libstdc++: Fix elements_view::operator* and operator[] [LWG 3502] 2021-04-08 16:45:22 -04:00
acinclude.m4
aclocal.m4
ChangeLog libstdc++: Remove bogus ChangeLog entry 2021-04-08 12:18:01 +01: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
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020
config.h.in
configure libstdc++: Regenerate configure script 2021-04-08 21:42:59 +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.