[all-commits] [llvm/llvm-project] 065dc4: [libc++][ranges] Implement P2443R1: `views::chunk_by`

Jakub Mazurkiewicz via All-commits all-commits at lists.llvm.org
Tue Sep 5 16:20:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 065dc485bd4b33f6110993cc4b353f1e7c36cac3
      https://github.com/llvm/llvm-project/commit/065dc485bd4b33f6110993cc4b353f1e7c36cac3
  Author: Jakub Mazurkiewicz <mazkuba3 at gmail.com>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
    M libcxx/docs/FeatureTestMacroTable.rst
    M libcxx/docs/ReleaseNotes/18.rst
    M libcxx/docs/Status/Cxx23Papers.csv
    M libcxx/docs/Status/RangesViews.csv
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__algorithm/ranges_adjacent_find.h
    A libcxx/include/__ranges/chunk_by_view.h
    M libcxx/include/__ranges/movable_box.h
    M libcxx/include/module.modulemap.in
    M libcxx/include/ranges
    M libcxx/include/version
    M libcxx/modules/std/ranges.inc
    A libcxx/test/libcxx/ranges/range.adaptors/range.chunk.by/adaptor.nodiscard.verify.cpp
    A libcxx/test/libcxx/ranges/range.adaptors/range.chunk.by/assert.begin.pass.cpp
    A libcxx/test/libcxx/ranges/range.adaptors/range.chunk.by/assert.find-next.pass.cpp
    A libcxx/test/libcxx/ranges/range.adaptors/range.chunk.by/assert.find-prev.pass.cpp
    A libcxx/test/libcxx/ranges/range.adaptors/range.chunk.by/range.chunk.by.iter/assert.deref.pass.cpp
    A libcxx/test/libcxx/ranges/range.adaptors/range.chunk.by/range.chunk.by.iter/assert.increment.pass.cpp
    A libcxx/test/libcxx/ranges/range.adaptors/range.chunk.by/types.h
    M libcxx/test/libcxx/transitive_includes/cxx03.csv
    M libcxx/test/libcxx/transitive_includes/cxx11.csv
    M libcxx/test/libcxx/transitive_includes/cxx14.csv
    M libcxx/test/libcxx/transitive_includes/cxx17.csv
    M libcxx/test/libcxx/transitive_includes/cxx20.csv
    M libcxx/test/libcxx/transitive_includes/cxx23.csv
    M libcxx/test/libcxx/transitive_includes/cxx26.csv
    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
    A libcxx/test/std/ranges/range.adaptors/range.chunk.by/adaptor.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.chunk.by/base.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.chunk.by/begin.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.chunk.by/constraints.compile.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.chunk.by/ctad.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.chunk.by/ctor.default.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.chunk.by/ctor.view_pred.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.chunk.by/end.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.chunk.by/pred.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.chunk.by/range.chunk.by.iter/compare.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.chunk.by/range.chunk.by.iter/ctor.default.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.chunk.by/range.chunk.by.iter/decrement.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.chunk.by/range.chunk.by.iter/deref.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.chunk.by/range.chunk.by.iter/increment.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.chunk.by/range.chunk.by.iter/types.compile.pass.cpp
    A libcxx/test/std/ranges/range.adaptors/range.chunk.by/types.h
    M libcxx/utils/generate_feature_test_macro_components.py

  Log Message:
  -----------
  [libc++][ranges] Implement P2443R1: `views::chunk_by`

This patch implements https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2443r1.html (`views::chunk_by`).

Reviewed By: #libc, var-const

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




More information about the All-commits mailing list