+ 14
If you are talking about reclaiming occupied memory by dynamic allocation in a class, then see this link about the issue. [https://stackoverflow.com/questions/7155330/is-memory-released-when-a-destructor-is-called-or-when-delete-is-called] But if you are talking about object lifetime then yes. Destructor literally destroys objects after being called.
3rd Oct 2017, 9:22 AM
Babak
Babak - avatar