摘要: class CSub2 { public: CSub2() { cout << "默认构造函数:" << this <<endl; } CSub2(int x) : m_x(x) { cout << "构造函数:" << m_x << ":" << this << endl; } CSub2& op 阅读全文
posted @ 2021-03-31 21:03 唯一诺 阅读(416) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/wudishine/article/details/12307611 阅读全文
posted @ 2021-03-31 19:19 唯一诺 阅读(196) 评论(0) 推荐(0)