On Mon, Feb 17, 2020 at 12:34 PM Jonathan Wakely <jwak...@redhat.com> 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 without the cast. (The WP was doing == false,
which is a different matter.)



>         * include/std/concepts (__boolean): Remove.
>         (__detail::__boolean_testable_impl, __detail::__boolean_testable):
> Add
>         new helper concepts.
>         (__detail::__weakly_eq_cmp_with, totally_ordered,
> totally_ordered_with)
>         (predicate): Use __boolean_testable instead of boolean.
>         * libsupc++/compare (__detail::__partially_ordered, _Synth3way):
>         Likewise.
>
> Tested powerpc64le-linux, committed to master.
>
>

Reply via email to