阅读背景:

是否可以在gcc中关闭对“和”/“或”布尔运算符用法的支持?

来源:互联网 

GCC seems to allow "and" / "or" to be used instead of "&&" / "||" in C++ code; however, as I expected, many compilers (notably MSVC 7) do not support this. The fact that GCC allows this has caused some annoyances for us in that we have different developers working on the same code base on multiple platforms and occasionally, these "errors" slip in as people are switching back and forth between Python and C++ development.GCC seems to allow "and" / "or" to be used inst




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

分享到: