[libcxx-commits] [libcxx] [libc++][span] LWG4243: `as_bytes`/`as_writable_bytes` is broken with `span<volatile T>` (PR #200993)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 1 21:01:30 PDT 2026


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

```suggestion

// REQUIRES: std-at-least-c++20
```
I think there should be an empty line between banner comments and lit comments, which improves readability.

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


More information about the libcxx-commits mailing list