On 18/02/20 13:49 +, Jonathan Wakely wrote:
On 17/02/20 22:27 +0100, Tim Song wrote:
On Mon, Feb 17, 2020 at 12:34 PM Jonathan Wakely wrote:
This removes the complicated std::boolean concept, as agreed in Prague.
* include/bits/ranges_algo.h (__find_fn, __find_first_of_fn)
On 17/02/20 22:27 +0100, Tim Song wrote:
On Mon, Feb 17, 2020 at 12:34 PM Jonathan Wakely wrote:
This removes the complicated std::boolean concept, as agreed in Prague.
* include/bits/ranges_algo.h (__find_fn, __find_first_of_fn)
(__adjacent_find_fn): Cast result of predicate
On Mon, Feb 17, 2020 at 12:34 PM Jonathan Wakely wrote:
> This removes the complicated std::boolean concept, as agreed in Prague.
>
> * include/bits/ranges_algo.h (__find_fn, __find_first_of_fn)
> (__adjacent_find_fn): Cast result of predicate to bool.
Um, why? These look fine
This removes the complicated std::boolean concept, as agreed in Prague.
* include/bits/ranges_algo.h (__find_fn, __find_first_of_fn)
(__adjacent_find_fn): Cast result of predicate to bool.
* include/std/concepts (__boolean): Remove.
(__detail::__boolean_testable_imp