摘要: 1.编译器为class A{}生成的函数 1 class A 2 { 3 public: 4 A(); //缺省构造函数 5 A(const A&rhs); //拷贝构造函数 6 ~A(); //析构函数 7 A& operator=(const A&rhs); //赋值运算符 8 A* opera 阅读全文
posted @ 2021-06-13 23:07 泥烟 阅读(37) 评论(0) 推荐(0) 编辑