[libcxx-commits] [PATCH] D100255: [libcxx] Implements "forward" range access CPOs

Christopher Di Bella via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Apr 10 22:36:47 PDT 2021


cjdb created this revision.
cjdb added reviewers: ldionne, EricWF, zoecarver, curdeius, Mordante, Quuxplusone.
Herald added a subscriber: mgorny.
cjdb requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

- `std::ranges::begin`
- `std::ranges::cbegin`
- `std::ranges::end`
- `std::ranges::cend`
- `std::ranges::iterator` (required for `end`)

Implements parts of:

- P0896R4 The One Ranges Proposal`

Depends on 100160.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100255

Files:
  libcxx/include/CMakeLists.txt
  libcxx/include/__ranges/access.h
  libcxx/include/module.modulemap
  libcxx/include/ranges
  libcxx/include/type_traits
  libcxx/test/libcxx/ranges/range.access/access.h
  libcxx/test/libcxx/ranges/range.access/range.access.begin/begin.compile.pass.cpp
  libcxx/test/libcxx/ranges/range.access/range.access.end/end.compile.pass.cpp
  libcxx/test/std/ranges/range.access/array_access.h
  libcxx/test/std/ranges/range.access/member_access.h
  libcxx/test/std/ranges/range.access/range.access.begin/array_access.pass.cpp
  libcxx/test/std/ranges/range.access/range.access.begin/member_access.pass.cpp
  libcxx/test/std/ranges/range.access/range.access.begin/unqualified_lookup.pass.cpp
  libcxx/test/std/ranges/range.access/range.access.cbegin/array_access.pass.cpp
  libcxx/test/std/ranges/range.access/range.access.cbegin/member_access.pass.cpp
  libcxx/test/std/ranges/range.access/range.access.cbegin/unqualified_lookup.pass.cpp
  libcxx/test/std/ranges/range.access/range.access.cend/array_access.pass.cpp
  libcxx/test/std/ranges/range.access/range.access.cend/member_access.pass.cpp
  libcxx/test/std/ranges/range.access/range.access.cend/unqualified_lookup.pass.cpp
  libcxx/test/std/ranges/range.access/range.access.end/array_access.pass.cpp
  libcxx/test/std/ranges/range.access/range.access.end/member_access.pass.cpp
  libcxx/test/std/ranges/range.access/range.access.end/unqualified_lookup.pass.cpp
  libcxx/test/std/ranges/range.access/unqualified_lookup_access.h
  libcxx/test/std/ranges/range.range/iterator_t.compile.pass.cpp
  libcxx/test/support/test_macros.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100255.336641.patch
Type: text/x-patch
Size: 61167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210411/5fc9b864/attachment-0001.bin>


More information about the libcxx-commits mailing list