[libcxx-commits] [PATCH] D100269: [libcxx] adds concept `range` and range aliases

Christopher Di Bella via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Apr 11 10:44:09 PDT 2021


cjdb created this revision.
cjdb added reviewers: ldionne, EricWF, zoecarver, Mordante, curdeius, 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::range`
- `std::ranges::sentinel_t`
- `std::ranges::range_difference_t`
- `std::ranges::range_value_t`
- `std::ranges::range_reference_t`
- `std::ranges::range_rvalue_reference_t`

`range_size_t` depends on `sized_range` and will be added alongside it.

Implements parts of:

- P0896R4 The One Ranges Proposal`

Depends on D100255 <https://reviews.llvm.org/D100255>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100269

Files:
  libcxx/include/CMakeLists.txt
  libcxx/include/__ranges/concepts.h
  libcxx/include/ranges
  libcxx/test/std/ranges/range.range/helper_aliases.compile.pass.cpp
  libcxx/test/std/ranges/range.range/range.compile.pass.cpp
  libcxx/test/std/ranges/range.range/sentinel_t.compile.pass.cpp
  libcxx/test/support/test_range.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100269.336678.patch
Type: text/x-patch
Size: 13065 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210411/c58b1ddd/attachment-0001.bin>


More information about the libcxx-commits mailing list