aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.cc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2023-03-09 13:35:04 -0500
committerPatrick Palka <ppalka@redhat.com>2023-03-09 13:35:04 -0500
commit95827e1b9f7d5dd5a697bd60292e3876a7e8c15c (patch)
tree6494db69c15630fb1a1b2016e1c14dc2901e40cb /gcc/tree.cc
parentc6232ba229a4fcd453b50f11351fcbd35296809c (diff)
downloadgcc-95827e1b9f7d5dd5a697bd60292e3876a7e8c15c.zip
gcc-95827e1b9f7d5dd5a697bd60292e3876a7e8c15c.tar.gz
gcc-95827e1b9f7d5dd5a697bd60292e3876a7e8c15c.tar.bz2
libstdc++: Make views::single/iota/istream SFINAE-friendly [PR108362]
PR libstdc++/108362 libstdc++-v3/ChangeLog: * include/std/ranges (__detail::__can_single_view): New concept. (_Single::operator()): Constrain it. Move [[nodiscard]] to the end of the function declarator. (__detail::__can_iota_view): New concept. (_Iota::operator()): Constrain it. Move [[nodiscard]] to the end of the function declarator. (__detail::__can_istream_view): New concept. (_Istream::operator()): Constrain it. Move [[nodiscard]] to the end of the function declarator. * testsuite/std/ranges/iota/iota_view.cc (test07): New test. * testsuite/std/ranges/istream_view.cc (test08): New test. * testsuite/std/ranges/single_view.cc (test07): New test.
Diffstat (limited to 'gcc/tree.cc')
0 files changed, 0 insertions, 0 deletions