阅读背景:

关于变量范围的C/ c++编译器优化。

来源:互联网 

I'm not sure about the source, but my current knowledge is that the local variables of a C/C++ function are initialized at the entry to the function. But I also can read that declaring variables as close as possible to its use will help the compiler optimize the code. I am quite confused with these two conflicting arguments.I'm not sure about the source, but my current k




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

分享到: