2021年2月18日

C++构造函数、复制函数、析构函数调用详解

摘要: 1 #include <iostream> 2 using namespace std; 3 class Demo { 4 public: 5 Demo() { cout << "consructor" << endl; }; 6 ~Demo() { cout << "destructor" << 阅读全文

posted @ 2021-02-18 12:42 rebel3 阅读(113) 评论(0) 推荐(0)

导航