C++ Class 构造时由于LazyMode 和 Copy Constructor导致的问题
摘要:1.先看源代码 class: class Info { public: Info(string a_strName) { _name = string(a_strName); } ~Info() { if (NULL != _nbytes) { delete[] _nbytes; _nbytes =
阅读全文
posted @ 2022-01-23 16:27