[libcxx-commits] [PATCH] D133317: implement `std::views::istream`

Hui via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Sep 5 08:47:53 PDT 2022


huixie90 created this revision.
huixie90 added reviewers: philnik, var-const, ldionne.
Herald added a subscriber: mgorny.
Herald added a project: All.
huixie90 requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

implement `std::ranges::basic_istream_view` and `std::views::istream`. Although the view itself is constexpr,
the constructor argument is a base class std::istream where its ctor/dtor are not constexpr. So no tests are performed in
constexpr


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133317

Files:
  libcxx/docs/Status/Cxx20Issues.csv
  libcxx/docs/Status/Cxx20Papers.csv
  libcxx/docs/Status/Cxx2bIssues.csv
  libcxx/docs/Status/RangesIssues.csv
  libcxx/include/CMakeLists.txt
  libcxx/include/__ranges/istream_view.h
  libcxx/include/module.modulemap.in
  libcxx/include/ranges
  libcxx/test/libcxx/private_headers.verify.cpp
  libcxx/test/std/ranges/range.factories/range.istream.view/begin.pass.cpp
  libcxx/test/std/ranges/range.factories/range.istream.view/cpo.pass.cpp
  libcxx/test/std/ranges/range.factories/range.istream.view/ctor.pass.cpp
  libcxx/test/std/ranges/range.factories/range.istream.view/end.pass.cpp
  libcxx/test/std/ranges/range.factories/range.istream.view/general.pass.cpp
  libcxx/test/std/ranges/range.factories/range.istream.view/iterator/compare.pass.cpp
  libcxx/test/std/ranges/range.factories/range.istream.view/iterator/ctor.pass.cpp
  libcxx/test/std/ranges/range.factories/range.istream.view/iterator/deref.pass.cpp
  libcxx/test/std/ranges/range.factories/range.istream.view/iterator/increment.pass.cpp
  libcxx/test/std/ranges/range.factories/range.istream.view/iterator/member_types.compile.pass.cpp
  libcxx/test/std/ranges/range.factories/range.istream.view/iterator/special_op.pass.cpp
  libcxx/test/std/ranges/range.factories/range.istream.view/range.concept.compile.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133317.458020.patch
Type: text/x-patch
Size: 31674 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220905/24e8ca2b/attachment-0001.bin>


More information about the libcxx-commits mailing list