[all-commits] [llvm/llvm-project] 9924d8: [libc++][ranges] Implement `views::take`.
Konstantin Varlamov via All-commits
all-commits at lists.llvm.org
Fri May 6 14:16:34 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9924d8d66ae103bee09387de3bef226d745807a8
https://github.com/llvm/llvm-project/commit/9924d8d66ae103bee09387de3bef226d745807a8
Author: Konstantin Varlamov <varconst at apple.com>
Date: 2022-05-06 (Fri, 06 May 2022)
Changed paths:
M libcxx/include/CMakeLists.txt
A libcxx/include/__fwd/span.h
A libcxx/include/__fwd/string_view.h
M libcxx/include/__ranges/take_view.h
M libcxx/include/module.modulemap
M libcxx/include/span
M libcxx/include/string_view
M libcxx/test/libcxx/lint/lint_modulemap.sh.py
M libcxx/test/libcxx/private_headers.verify.cpp
M libcxx/test/std/library/description/conventions/customization.point.object/cpo.compile.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.take/adaptor.pass.cpp
Log Message:
-----------
[libc++][ranges] Implement `views::take`.
The view itself has been implemented previously -- this patch only adds
the ability to pipe it.
Also implements [P1739](https://wg21.link/p1739) (partially) and [LWG3407](https://wg21.link/lwg3407).
Differential Revision: https://reviews.llvm.org/D123600
More information about the All-commits
mailing list