[libcxx] [llvm] [libc++] Deprecate and remove meaningless `<cxxx>` headers (PR #111615)

Louis Dionne via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 18 12:23:50 PDT 2024


================
@@ -24,7 +24,11 @@
 #endif
 
 #ifdef __cplusplus
-#  include <ccomplex>
+#  if _LIBCPP_STD_VER >= 17
+#    include <complex>
+#  else
+#    include <ccomplex>
+#  endif
----------------
ldionne wrote:

Similarly, why not include `<complex>` unconditionally instead?

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


More information about the llvm-commits mailing list