[libcxx-commits] [libcxx] [libc++] LWG3260: year_month* arithmetic rejects durations convertible to years (PR #196384)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Sat May 9 06:15:52 PDT 2026


================
@@ -17,13 +17,16 @@
 #include <cassert>
 #include <type_traits>
 #include <utility>
+#include <ratio>
----------------
Zingam wrote:

```suggestion
#include <cassert>
#include <ratio>
#include <type_traits>
#include <utility>
```

Includes should be sorted.

Also below.

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


More information about the libcxx-commits mailing list