[libcxx-commits] [libcxx] [libcxx] cbegin should always return a constant iterator (PR #99915)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 4 02:53:21 PDT 2026


================
@@ -0,0 +1,207 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
----------------
frederick-vs-ja wrote:

Oops, new tests should use the new style. I think I'll address this soon.
```suggestion
// REQUIRES: std-at-least-c++23
```

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


More information about the libcxx-commits mailing list