⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠
Text Elements
堆区
0x0011
0x0011
0x0011
int age
18 ^2xgySEvv
int age
18 ^7FzGgnHO
int m_height
int m_height
160
if(m_height != nullptr) { delete m_height; m_height = nullptr; }
浅拷贝带来的问题就是堆区内存重复释放
浅拷贝