C++对象模型——程序转化语意学(第二章)

2.3    程序转化语意学 (Program Transformation Semantics)     以下程序片断所示: #include "X.h" X foo() { X xx; return xx; }    看到这个代码,可能作出如下假设:     1.    每次foo()被调用,就传回xx的值     2.    若是 class X定义了一个copy const
相关文章
相关标签/搜索