ViVi Home > 技術文書 > ポインタ入門 > 文字列クラス > デストラクタ
String::~String(){ delete [] m_data; // 確保したメモリを解放}
解説:
前: | 次: