[libcxx-commits] [libcxx] Fix LWG issue4481 disallow chrono::duration<const T, P> (PR #207558)
Hristo Hristov via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Jul 4 23:02:38 PDT 2026
================
@@ -0,0 +1,31 @@
+//===----------------------------------------------------------------------===//
+//
+// 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, c++23
----------------
Zingam wrote:
```suggestion
// REQUIRES: std-at-least-c++26
```
Using the newer syntax is recommended.
I am also not convinced `cv_rep.verify.cpp` to be a good name. I think `duration.verify.cpp` is more appropriate and consistent. Let's rename the test file.
https://github.com/llvm/llvm-project/pull/207558
More information about the libcxx-commits
mailing list