文件名称:c++5
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:2.72kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
在设计良好的面向对象系统中,为了压缩其对象内部的空间,仅留两个函数用于对象的拷贝:一般称为拷贝构造函数(copy constructor)和拷贝赋值运算符(copy assignment operator)。我们将它们统称为拷贝函数(copying functions)。如果需要,编译器会生成拷贝函数,而且阐明了编译器生成的版本正象你所期望的:它们拷贝被拷贝对象的全部数据。
-in a well-designed object-oriented systems, in order to reduce its target within the space, leaving only two function to copy the Object : General Constructors called copy (copy constructor) and copy assignment operator (copy assignment operator). We will copy them collectively function (copying functions). If necessary, the compiler will generate copy function, but also to clarify the compiler generated version Just as you expect : they copy the object being copied all the data.
-in a well-designed object-oriented systems, in order to reduce its target within the space, leaving only two function to copy the Object : General Constructors called copy (copy constructor) and copy assignment operator (copy assignment operator). We will copy them collectively function (copying functions). If necessary, the compiler will generate copy function, but also to clarify the compiler generated version Just as you expect : they copy the object being copied all the data.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
c++5.txt
www.dssz.com.txt
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.