[libcxx-commits] [PATCH] D102789: [libcxx][iterator] adds `std::ranges::distance`

Christopher Di Bella via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed May 19 10:55:08 PDT 2021


cjdb created this revision.
cjdb added reviewers: ldionne, zoecarver, 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++.

Implements part of P0896 'The One Ranges Proposal'.
Implements [range.iter.op.distance].

Depends on D102564 <https://reviews.llvm.org/D102564> and D102434 <https://reviews.llvm.org/D102434>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102789

Files:
  libcxx/include/CMakeLists.txt
  libcxx/include/__iterator/distance.h
  libcxx/include/iterator
  libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.distance/distance.pass.cpp
  libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.distance/distance.verify.cpp
  libcxx/test/support/test_iterators.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102789.346511.patch
Type: text/x-patch
Size: 18446 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210519/19c40d3b/attachment-0001.bin>


More information about the libcxx-commits mailing list