[libcxx-commits] [libcxx] [libc++][ranges] Fix `ranges::join_view` segmented iterator trait (PR #158347)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 19 01:08:50 PDT 2025


================
@@ -0,0 +1,37 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+
+#include <algorithm>
----------------
lbonn wrote:

I've moved it there and put the deque and join_view in the same function as they have the two segmented iterator implementations.

Let me know if you'd prefer to have them split there.

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


More information about the libcxx-commits mailing list