[libcxx-commits] [libcxx] [libc++] Implement comparison operators for `tuple` added in C++23 (PR #148799)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jul 18 08:15:47 PDT 2025
================
@@ -220,7 +220,9 @@ template <class... Types>
# include <__config>
# include <__cstddef/size_t.h>
# include <__fwd/array.h>
+# include <__fwd/complex.h>
# include <__fwd/pair.h>
+# include <__fwd/subrange.h>
----------------
ldionne wrote:
I agree that seems overkill, but IMO that's better than including forward declarations for seemingly unrelated classes like `complex` and `subrange`. What's the modules error you got?
https://github.com/llvm/llvm-project/pull/148799
More information about the libcxx-commits
mailing list