[libcxx-commits] [libcxx] [libc++] Applied `[[nodiscard]]` to `__static_bounded_iter` (PR #198492)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Tue May 19 05:39:25 PDT 2026
================
@@ -0,0 +1,47 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ABI_BOUNDED_ITERATORS_IN_STD_ARRAY
+
+// <array>
----------------
frederick-vs-ja wrote:
```suggestion
// <array>
// using iterator = implementation-defined;
// using const_iterator = implementation-defined;
```
Also, I guess it makes some sense to test `const_iterator` together.
https://github.com/llvm/llvm-project/pull/198492
More information about the libcxx-commits
mailing list