阅读背景:

C编译器如何实现返回大型结构的函数?

来源:互联网 

The return value of a function is usually stored on the stack or in a register. But for a large structure, it has to be on the stack. How much copying has to happen in a real compiler for this code? Or is it optimized away?The return value of a function is usually store




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

分享到: