gcc/libstdc++-v3
Patrick Palka d91e7eab3a libstdc++: Fix various bugs in ranges_algo.h [PR100187, ...]
This fixes some bugs with our ranges algorithms in uncommon situations,
such as when the return type of a predicate is a non-copyable class type
that's implicitly convertible to bool (PR100187), when a comparison
predicate isn't invocable as an rvalue (PR100237), and when the return
type of a projection function is non-copyable (PR100249).

This also fixes PR100287, which reports that we're moving __first twice
when constructing with it an empty subrange in ranges::partition.

libstdc++-v3/ChangeLog:

	PR libstdc++/100187
	PR libstdc++/100237
	PR libstdc++/100249
	PR libstdc++/100287
	* include/bits/ranges_algo.h (__search_n_fn::operator()): Give
	the __value_comp lambda an explicit bool return type.
	(__is_permutation_fn::operator()): Give the __proj_scan local
	variable auto&& return type.  Give the __comp_scan lambda an
	explicit bool return type.
	(__remove_fn::operator()): Give the __pred lambda an explicit
	bool return type.
	(__partition_fn::operator()): Don't std::move __first twice
	when returning an empty subrange.
	(__min_fn::operator()): Don't std::move __comp.
	(__max_fn::operator()): Likewise.
	(__minmax_fn::operator()): Likewise.
2021-04-27 23:21:19 -04:00
..
config aix: delete AIX pre-PowerPC version of atomicity.h 2021-04-22 19:38:36 -04:00
doc libstdc++: Remove outdated docs on libg++ and libstdc++-v2 2021-04-13 16:34:15 +01:00
include libstdc++: Fix various bugs in ranges_algo.h [PR100187, ...] 2021-04-27 23:21:19 -04:00
libsupc++ libstdc++: Move atomic functions to libsupc++ [PR 96657] 2021-04-15 16:56:44 +01:00
po
python libstdc++: Install libstdc++*-gdb.py more robustly [PR 99453] 2021-04-21 16:55:15 +01:00
scripts
src libstdc++: Move atomic functions to libsupc++ [PR 96657] 2021-04-15 16:56:44 +01:00
testsuite libstdc++: Fix up lambda in join_view::_Iterator::operator++ [PR100290] 2021-04-27 14:07:46 -04:00
acinclude.m4 Fix AIX libstdc++ semaphore support [PR100164] 2021-04-21 11:13:54 +02:00
aclocal.m4
ChangeLog Daily bump. 2021-04-28 00:16:36 +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
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020
config.h.in Fix AIX libstdc++ semaphore support [PR100164] 2021-04-21 11:13:54 +02:00
configure Fix AIX libstdc++ semaphore support [PR100164] 2021-04-21 11:13:54 +02: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.