[all-commits] [llvm/llvm-project] a2160d: [libc++][ranges] Implement P2474R2(`views::repeat`).

yronglin via All-commits all-commits at lists.llvm.org
Thu Jul 20 05:03:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2160dd34d56ea5440cbb805657bfee0e2228073
      https://github.com/llvm/llvm-project/commit/a2160dd34d56ea5440cbb805657bfee0e2228073
  Author: yrong <yronglin777 at gmail.com>
  Date:   2023-07-20 (Thu, 20 Jul 2023)

  Changed paths:
    M libcxx/docs/FeatureTestMacroTable.rst
    M libcxx/docs/ReleaseNotes/17.rst
    M libcxx/docs/Status/Cxx23Issues.csv
    M libcxx/docs/Status/Cxx23Papers.csv
    M libcxx/docs/Status/RangesViews.csv
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__ranges/drop_view.h
    A libcxx/include/__ranges/repeat_view.h
    M libcxx/include/__ranges/take_view.h
    M libcxx/include/module.modulemap.in
    M libcxx/include/ranges
    M libcxx/include/version
    M libcxx/modules/std/ranges.cppm
    A libcxx/test/libcxx/ranges/range.factories/range.repeat.view/ctor.piecewise.pass.cpp
    A libcxx/test/libcxx/ranges/range.factories/range.repeat.view/ctor.value.bound.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
    M libcxx/test/std/ranges/range.adaptors/range.drop/adaptor.pass.cpp
    M libcxx/test/std/ranges/range.adaptors/range.take/adaptor.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/begin.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/ctad.compile.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/ctor.default.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/ctor.piecewise.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/ctor.value.bound.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/end.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/iterator/compare.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/iterator/ctor.default.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/iterator/decrement.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/iterator/increment.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/iterator/member_typedefs.compile.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/iterator/minus.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/iterator/minus_eq.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/iterator/plus.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/iterator/plus_eq.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/iterator/star.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/iterator/subscript.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/size.pass.cpp
    A libcxx/test/std/ranges/range.factories/range.repeat.view/views_repeat.pass.cpp
    M libcxx/utils/generate_feature_test_macro_components.py

  Log Message:
  -----------
  [libc++][ranges] Implement P2474R2(`views::repeat`).

- Implement https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2474r2.html
- Implement LWG3875(https://cplusplus.github.io/LWG/issue3875).

Depends on D151629

Reviewed By: #libc, Mordante, philnik, var-const

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




More information about the All-commits mailing list