gpt4 book ai didi

c++ - 在 Intel C++ 上检测 C++0x 模式?

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:36:58 25 4
gpt4 key购买 nike

在使用Qstd=c++0x 编译时,Intel C++ 是否预定义了一些宏?像 GCC 中的 __GXX_EXPERIMENTAL_CXX0X__ 这样的东西? __cplusplus 仍然是 199711

有什么方法可以检测 C++0x 编译吗?

最佳答案

Intel documentation indicates它确实在 Linux 上定义了 __GXX_EXPERIMENTAL_CXX0X__,但在 Windows 上没有定义任何宏。

关于c++ - 在 Intel C++ 上检测 C++0x 模式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3744023/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com