我认为对于静态函数(或者匿名命名空间中的那些),编译器可能会做出你正在谈论的优化,因为函数没有外部链接。
I think that for static functions (or those in an anonymous namespace), the compiler could possibly make the optimization you're talking about, since the function does not have external linkage.
我认为对于静态函数(或者匿名命名空间中的那些),编译器可能会做出你正在谈论的优化,因为函数没有外部链接。
I think that for static functions (or those in an anonymous namespace), the compiler could possibly make the optimization you're talking about, since the function does not have external linkage.
应用推荐