[libcxx-commits] [PATCH] D116950: [libc++] Add the std::ranges::drop range adaptor object
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jan 10 08:53:46 PST 2022
ldionne created this revision.
Herald added a subscriber: mgorny.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
This introduces forward declarations of `string_view` and `span` to
keep `drop_view.h` as miminal as possible, and to avoid the possibility
of circular dependencies since `span` and `string_view` both depend on
some parts of ranges too. They don't technically depend on `drop_view`
right now, but this is guarding against future headache.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D116950
Files:
libcxx/include/CMakeLists.txt
libcxx/include/__fwd/span.h
libcxx/include/__fwd/string_view.h
libcxx/include/__ranges/drop_view.h
libcxx/include/module.modulemap
libcxx/include/span
libcxx/include/string_view
libcxx/test/std/ranges/range.adaptors/range.drop/adaptor.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116950.398663.patch
Type: text/x-patch
Size: 15970 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220110/c3993b1d/attachment-0001.bin>
More information about the libcxx-commits
mailing list