[libcxx-commits] [libcxx] [libc++] remove duplicate assertions for void/reference const any_cast (PR #199425)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 25 01:04:46 PDT 2026


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

```suggestion
// REQUIRES: std-at-least-c++17
```

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


More information about the libcxx-commits mailing list