diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-02-17 18:15:00 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-02-17 18:22:05 +0000 |
commit | c5e1c1d3aba39e960cc5fb0dcd77e447e5dee7eb (patch) | |
tree | 3323f02a1bf17f6607e38300d918d2bd1df43a72 /gcc/tree-ssa.c | |
parent | 7ab36231a17d8a78f4355289ebbd9d32bb8ede7b (diff) | |
download | gcc-c5e1c1d3aba39e960cc5fb0dcd77e447e5dee7eb.zip gcc-c5e1c1d3aba39e960cc5fb0dcd77e447e5dee7eb.tar.gz gcc-c5e1c1d3aba39e960cc5fb0dcd77e447e5dee7eb.tar.bz2 |
libstdc++: P1964R2 Wording for boolean-testable
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_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.
Diffstat (limited to 'gcc/tree-ssa.c')
0 files changed, 0 insertions, 0 deletions