摘要: 首先奉上源代码 class A{ private: int i; public: A() { std::cout << "default constructor is called" << std::endl; i = 0; } A(int _i): i(_i) {} A(const A& obj) 阅读全文
posted @ 2024-11-13 09:40 风冷无霜 阅读(13) 评论(0) 推荐(0)