Quick A: Yes, and we do!
Recently on SO -- the selected answer is the correct one:
Is it possible to have automatically generated destructors in C++?
It is too big burden to do it by ourselves all the time. Is it so hard for the compiler to generate destructors? Can't it detect what is a "resource" and release it in the destructor?
Add a Comment
Comments are closed.