C++有六个默认函数:分别是 1、default构造函数; 2、默认拷贝构造函数; 3、默认析构函数; 4、赋值运算符; 5、取值运算符; 6、取值运算符const; 转载于:https://www.cnblogs.com/poissonnotes/p/6561314.html