[libcxx-commits] [PATCH] D103273: [libc++] Update all the pre-defined iterator types for C++20

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 27 11:23:32 PDT 2021


ldionne created this revision.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Make sure we provide the correct It::difference_type member and update
the tests and synopses to be accurate.

Supersedes D102657 <https://reviews.llvm.org/D102657> and D103101 <https://reviews.llvm.org/D103101> (thanks to the original authors).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103273

Files:
  libcxx/include/__memory/raw_storage_iterator.h
  libcxx/include/iterator
  libcxx/include/memory
  libcxx/test/std/iterators/iterator.primitives/iterator.traits/cxx20_iterator_traits.compile.pass.cpp
  libcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iterator/types.pass.cpp
  libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iterator/types.pass.cpp
  libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iterator/types.pass.cpp
  libcxx/test/std/iterators/stream.iterators/istream.iterator/types.pass.cpp
  libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/types.pass.cpp
  libcxx/test/std/iterators/stream.iterators/ostream.iterator/iterator_concept_conformance.compile.pass.cpp
  libcxx/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/default.pass.cpp
  libcxx/test/std/iterators/stream.iterators/ostream.iterator/types.pass.cpp
  libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/iterator_concept_conformance.compile.pass.cpp
  libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/default.pass.cpp
  libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/types.pass.cpp
  libcxx/test/std/utilities/memory/storage.iterator/types.compile.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103273.348340.patch
Type: text/x-patch
Size: 28547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210527/043419a3/attachment-0001.bin>


More information about the libcxx-commits mailing list