Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
重複の可能性: C++ での C++デストラクタ チェックでの オブジェクトの破壊
C++ でデストラクタがどのように機能するかを確認するための簡単なプログラムが必要ですか?
デストラクタが呼び出されるタイミングが基本的にわかりません。