[libcxx-commits] [libcxx] [libc++][ranges] Implement P1899 `ranges::stride_view`. (PR #65200)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Mar 20 02:58:44 PDT 2026
================
@@ -0,0 +1,115 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+// REQUIRES: std-at-least-c++23
+
+// std::views::stride_view
+
+#include <ranges>
----------------
frederick-vs-ja wrote:
Perhaps we should explicit include `<cassert>` in all test files using `assert`. On macOs with some configurations, `<cassert>`/`<assert.h>` isn't transitively included.
```suggestion
#include <cassert>
#include <ranges>
```
https://github.com/llvm/llvm-project/pull/65200
More information about the libcxx-commits
mailing list