确定预处理程序令牌的值

Lig*_*ica 3 c++ macros

如何判断__GNUC__定义在C++编译器上的价值?

Mat*_*Mat 7

您可以使用以下方法获取所有GCC预定义宏:

g++ -dM -E - < /dev/null
Run Code Online (Sandbox Code Playgroud)

快速grep将为您提供您想要的.