Arthur O'Dwyer
67151d029b
[libc++] [ranges] Implement P2415R2 owning_view.
...
"What is a view?"
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2415r2.html
https://github.com/cplusplus/draft/pull/5010/files
This was a late-breaking (Oct 2021) change to C++20.
The only thing missing from this patch is that we're supposed
to bump the feature-test macro from
#define __cpp_lib_ranges 202106L
to
#define __cpp_lib_ranges 202110L
but we can't do that because we don't implement all of 202106 Ranges yet.
Differential Revision: https://reviews.llvm.org/D116894
2022-01-13 12:29:41 -05:00
Louis Dionne
a6406ce18c
[libc++][NFC] Refactor the std::reverse_view tests
...
Mostly, remove the global assumption that all ranges have size 8.
I should have called this out during the initial review.
2021-09-23 18:35:56 -04:00
Louis Dionne
6900df37d2
[libc++] Remove Lit annotations for unsupported GCC versions from the test suite
...
Since we officially don't support several older compilers now, we can
drop a lot of the markup in the test suite. This helps keep the test
suite simple and makes sure that UNSUPPORTED annotations don't rot.
This is the first patch of a series that will remove annotations for
compilers that are now unsupported.
Differential Revision: https://reviews.llvm.org/D107787
2021-08-12 13:30:47 -04:00
zoecarver
9d982c67ba
[libcxx][ranges] Add `ranges::reverse_view`.
...
Differential Revision: https://reviews.llvm.org/D107096
2021-08-09 15:09:59 -07:00