[all-commits] [llvm/llvm-project] 96a509: implement `std::views::istream`

Hui via All-commits all-commits at lists.llvm.org
Thu Oct 6 14:57:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96a509bca28b8668c3c2c68aae4116cc0d8c2952
      https://github.com/llvm/llvm-project/commit/96a509bca28b8668c3c2c68aae4116cc0d8c2952
  Author: Hui Xie <hui.xie1990 at gmail.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

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

  Log Message:
  -----------
  implement `std::views::istream`

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

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




More information about the All-commits mailing list