Re: [PATCH] libstdc++: Fix various bugs in ranges_algo.h [PR100187, ...]

2021-04-27 Thread Jonathan Wakely via Gcc-patches
On Tue, 27 Apr 2021, 21:37 Patrick Palka via Libstdc++, < libstd...@gcc.gnu.org> wrote: > 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 co

[PATCH] libstdc++: Fix various bugs in ranges_algo.h [PR100187, ...]

2021-04-27 Thread Patrick Palka via Gcc-patches
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 proje