摘要: C++中的拷贝构造、赋值构造函数 C++中的拷贝构造,赋值构造的形式如下: eg: c++ include using namespace std; class A { public: int x; int y; A() = default; // A (const A &a) { // this 阅读全文
posted @ 2020-02-13 21:35 buerdepepeqi 阅读(529) 评论(0) 推荐(0) 编辑