[all-commits] [llvm/llvm-project] 047331: [libcxx][iterator] adds `std::indirectly_readable`...

Christopher Di Bella via All-commits all-commits at lists.llvm.org
Wed Apr 21 10:15:23 PDT 2021


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

  Changed paths:
    M libcxx/include/__iterator/concepts.h
    M libcxx/include/__iterator/incrementable_traits.h
    M libcxx/include/__iterator/iter_move.h
    M libcxx/include/__iterator/iterator_traits.h
    M libcxx/include/__iterator/readable_traits.h
    M libcxx/include/iterator
    A libcxx/test/std/containers/associative/map/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/associative/multimap/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/associative/multiset/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/associative/set/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/sequences/array/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/sequences/deque/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/sequences/forwardlist/forwardlist.iter/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/sequences/list/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/sequences/vector.bool/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/sequences/vector/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.map/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.multimap/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.multiset/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.set/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/views/span.iterators/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/input.output/filesystems/class.directory_iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.readable/indirectly_readable.compile.pass.cpp
    A libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.writable/indirectly_writable.compile.pass.cpp
    A libcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/predef.iterators/move.iterators/move.iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/predef.iterators/reverse.iterators/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/stream.iterators/istream.iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/stream.iterators/ostream.iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/re/re.iter/re.regiter/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/re/re.iter/re.tokiter/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/strings/basic.string/string.iterators/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/strings/string.view/string.view.iterators/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/utilities/memory/unique.ptr/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/utilities/optional/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/support/read_write.h

  Log Message:
  -----------
  [libcxx][iterator] adds `std::indirectly_readable` and `std::indirectly_writable`

Implements parts of:
    * P0896R4 The One Ranges Proposal`

Depends on D99873.

Reviewed By: ldionne, #libc

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




More information about the All-commits mailing list