[all-commits] [llvm/llvm-project] 5a3309: [libcxx][ranges] adds `range` access CPOs

Christopher Di Bella via All-commits all-commits at lists.llvm.org
Fri Apr 30 09:57:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a3309f8257690838d8dbc8c973cdc90a32dba33
      https://github.com/llvm/llvm-project/commit/5a3309f8257690838d8dbc8c973cdc90a32dba33
  Author: Christopher Di Bella <cjdb at google.com>
  Date:   2021-04-30 (Fri, 30 Apr 2021)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__ranges/access.h
    M libcxx/include/module.modulemap
    M libcxx/include/ranges
    M libcxx/include/type_traits
    A libcxx/test/std/containers/associative/map/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/associative/multimap/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/associative/multiset/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/associative/set/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/sequences/array/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/sequences/deque/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/sequences/forwardlist/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/sequences/list/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/sequences/vector.bool/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/sequences/vector/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.map/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.multimap/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.multiset/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.set/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/views/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/input.output/filesystems/class.directory_iterator/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/input.output/filesystems/class.path/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/ranges/range.access/range.access.begin/begin.pass.cpp
    A libcxx/test/std/ranges/range.access/range.access.begin/incomplete.compile.verify.cpp
    A libcxx/test/std/ranges/range.access/range.access.cbegin/cbegin.compile.pass.cpp
    A libcxx/test/std/ranges/range.access/range.access.cbegin/incomplete.compile.verify copy.cpp
    A libcxx/test/std/ranges/range.access/range.access.cbegin/incomplete.compile.verify.cpp
    A libcxx/test/std/ranges/range.access/range.access.cend/cend.compile.pass.cpp
    A libcxx/test/std/ranges/range.access/range.access.cend/incomplete.compile.verify.cpp
    A libcxx/test/std/ranges/range.access/range.access.end/end.cpp
    A libcxx/test/std/ranges/range.access/range.access.end/incomplete.compile.verify.cpp
    A libcxx/test/std/ranges/range.range/iterator_t.compile.pass.cpp
    A libcxx/test/std/re/re.results/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/strings/basic.string/range_concept_conformance.compile.pass.cpp
    A libcxx/test/std/strings/string.view/range_concept_conformance.compile.pass.cpp
    A libcxx/test/support/test_range.h

  Log Message:
  -----------
  [libcxx][ranges] adds `range` access CPOs

* `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`

Co-author: @zoecarver

Depends on D90999, D100160.

Differential Revision: https://reviews.llvm.org/D100255




More information about the All-commits mailing list