[libcxx-commits] [libcxx] [libc++][views] P2442R1: Implements `views::chunk` (PR #76499)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 28 03:24:17 PST 2023


https://github.com/kumar-ish updated https://github.com/llvm/llvm-project/pull/76499

>From c03024c4eb1d52014fbba695b4746068c030283b Mon Sep 17 00:00:00 2001
From: Madhav Kumar <47245900+kumar-ish at users.noreply.github.com>
Date: Wed, 27 Dec 2023 11:06:56 +1000
Subject: [PATCH] [libc++][ranges] add own name to views::chunk (P2442R1)

---
 libcxx/docs/Status/RangesViews.csv   | 2 +-
 libcxx/include/__ranges/chunk_view.h | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100644 libcxx/include/__ranges/chunk_view.h

diff --git a/libcxx/docs/Status/RangesViews.csv b/libcxx/docs/Status/RangesViews.csv
index f141656eb131a2..1507e5edffdfe6 100644
--- a/libcxx/docs/Status/RangesViews.csv
+++ b/libcxx/docs/Status/RangesViews.csv
@@ -30,7 +30,7 @@ C++23,`adjacent <https://wg21.link/P2321R2>`_,Hui Xie,No patch yet,Not started
 C++23,`adjacent_transform <https://wg21.link/P2321R2>`_,Hui Xie,No patch yet,Not started
 C++23,`join_with <https://wg21.link/P2441R2>`_,Jakub Mazurkiewicz,`65536 <https://github.com/llvm/llvm-project/pull/65536>`_,In progress
 C++23,`slide <https://wg21.link/P2442R1>`_,Will Hawkins,`67146 <https://github.com/llvm/llvm-project/pull/67146>`_,In Progress
-C++23,`chunk <https://wg21.link/P2442R1>`_,Unassigned,No patch yet,Not started
+C++23,`chunk <https://wg21.link/P2442R1>`_,Madhav Kumar,No patch yet,Not started
 C++23,`chunk_by <https://wg21.link/P2443R1>`_,Jakub Mazurkiewicz,`D144767 <https://llvm.org/D144767>`_,✅
 C++23,`as_const <https://wg21.link/P2278R4>`_,Unassigned,No patch yet,Not started
 C++23,`as_rvalue <https://wg21.link/P2446R2>`_,Nikolas Klauser,`D137637 <https://llvm.org/D137637>`_,✅
diff --git a/libcxx/include/__ranges/chunk_view.h b/libcxx/include/__ranges/chunk_view.h
new file mode 100644
index 00000000000000..cf3cd85e034cee
--- /dev/null
+++ b/libcxx/include/__ranges/chunk_view.h
@@ -0,0 +1,8 @@
+//
+// Created by Madhav Kumar on 27/12/2023.
+//
+
+#ifndef LLVM_DEV_CHUNK_VIEW_H
+#define LLVM_DEV_CHUNK_VIEW_H
+
+#endif //LLVM_DEV_CHUNK_VIEW_H



More information about the libcxx-commits mailing list