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

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Sun Oct 27 00:57:23 PDT 2024


================
@@ -23,4 +23,17 @@
 #  pragma GCC system_header
 #endif
 
+#if _LIBCPP_STD_VER >= 17
+
+using __standard_header_ccomplex
+#  if _LIBCPP_STD_VER >= 20
+    _LIBCPP_DEPRECATED_("removed in C++20. Include <complex> instead.")
+#  else
+    _LIBCPP_DEPRECATED_("Include <complex> instead.")
+#  endif
+    = void;
+using __use_standard_header_ccomplex = __standard_header_ccomplex;
+
+#endif
----------------
frederick-vs-ja wrote:

Done.

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


More information about the libcxx-commits mailing list