[libcxx-commits] [libcxx] [libc++][chrono] Implement LWG 4481: disallow chrono::duration<const T, P> (PR #207558)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Jul 5 08:11:29 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
----------------
emmett2020 wrote:
Thanks. I'm not familiar with the process. I know that DRs should retroactively apply to older versions, but I didn't see this issue marked as a DR from the beginning. After carefully reading the related paper, I removed the C++26 macro guards and refined the test cases too.
https://github.com/llvm/llvm-project/pull/207558
More information about the libcxx-commits
mailing list