阅读背景:

我可以重新定义c++宏然后定义它吗?

来源:互联网 

I am using both the JUCE Library and a number of Boost headers in my code. Juce defines "T" as a macro (groan), and Boost often uses "T" in it's template definitions. The result is that if you somehow include the JUCE headers before the Boost headers the preprocessor expands the JUCE macro in the Boost code, and then the compiler gets hopelessly lost.I am using both the JUCE Library and a number o




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: