C++复制构造函数、=运算符重载
摘要:
C++复制构造函数、=运算符重载 #include<iostream> using namespace std; class base{ private: int x,y; public: base():x(2),y(4) {cout << "base default constructor" << 阅读全文
posted @ 2024-03-27 13:02 ᶜʸᵃⁿ 阅读(5) 评论(0) 推荐(0) 编辑