[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:06:07 PDT 2026


================
@@ -22,6 +22,11 @@
 #include <limits>
 #include <ratio>
 
+#if _LIBCPP_STD_VER >= 26
+#  include <__type_traits/is_same.h>
+#  include <__type_traits/remove_cv.h>
+#endif
+
----------------
emmett2020 wrote:

Thanks for your review. I've changed the related headers.

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


More information about the libcxx-commits mailing list