libstdc++: Implement range_adaptor_closure from P2387R3 [PR108827]
commitcb5c71d16d0fb47638498365f5c857ce7c673eaf
authorPatrick Palka <ppalka@redhat.com>
Tue, 18 Apr 2023 11:21:13 +0000 (18 07:21 -0400)
committerPatrick Palka <ppalka@redhat.com>
Tue, 18 Apr 2023 11:21:13 +0000 (18 07:21 -0400)
treeaad5c4b53482596d4c9ea969523cc818dc9e9848
parent95525c5b8c2d6317b693d441520b7bc808cf9ec7
libstdc++: Implement range_adaptor_closure from P2387R3 [PR108827]

PR libstdc++/108827

libstdc++-v3/ChangeLog:

* include/bits/ranges_cmp.h (__cpp_lib_ranges): Bump value
for C++23.
* include/std/ranges (range_adaptor_closure): Define for C++23.
* include/std/version (__cpp_lib_ranges): Bump value for
C++23.
* testsuite/std/ranges/version_c++23.cc: Bump expected value
of __cpp_lib_ranges.
* testsuite/std/ranges/range_adaptor_closure.cc: New test.
libstdc++-v3/include/bits/ranges_cmp.h
libstdc++-v3/include/std/ranges
libstdc++-v3/include/std/version
libstdc++-v3/testsuite/std/ranges/range_adaptor_closure.cc [new file with mode: 0644]
libstdc++-v3/testsuite/std/ranges/version_c++23.cc