[libcxx-commits] [libcxx] [libc++][c++23] P2374: `views::cartesian_product` (PR #111215)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Fri Apr 17 23:09:17 PDT 2026


================
@@ -0,0 +1,93 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20
+
+// constexpr explicit cartesian_product_view(First first_base, Vs... bases);
+
+#include <ranges>
+#include <tuple>
+
+#include "../range.zip/types.h"
----------------
H-G-Hristov wrote:

Maybe generalize this to a common/global location if you don't want to copy the types locally?

https://github.com/llvm/llvm-project/pull/111215


More information about the libcxx-commits mailing list