You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C++ 标准中将 C 头文件设为弃用是历史错误,因为大部分 C 头文件并不是待移除的候选。 C++23 更正了这个问题,见 WG21 P2340R1。
现在的推荐应该是
The intended use of these headers is for interoperability only. It is possible that C++ source files need to include one of these headers in order to be valid ISO C. Source files that are not intended to also be valid ISO C should not use any of the C headers.
这些头文件仅有意用于可互操作。 C++ 源文件有可能需要包含这些头文件之一以成为合法的 ISO C。无意同时作为合法的 C 的源文件不应该使用任何这些 C 头文件。
The text was updated successfully, but these errors were encountered:
问题来自提交 69bba35 。
C++ 标准中将 C 头文件设为弃用是历史错误,因为大部分 C 头文件并不是待移除的候选。 C++23 更正了这个问题,见 WG21 P2340R1。
现在的推荐应该是
The text was updated successfully, but these errors were encountered: