临时对象错误

首先来看一个经典的错误web class my_string { char *s; public: my_string(const char *str); ~my_string() { if (s) delete[] s; cout << "Free s\n" << endl; } void show() { cout << "show:" << endl; c
相关文章
相关标签/搜索