[libcxx-commits] [libcxx] [libc++][string] Assert resize_and_overwrite operation returns integer-like type (PR #162030)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 8 09:55:40 PDT 2025


================
@@ -0,0 +1,40 @@
+//===----------------------------------------------------------------------===//
+//
+// 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:

It seems better to use the new fashion.
```suggestion
// REQUIRES: std-at-least-c++23
```

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


More information about the libcxx-commits mailing list