Hacker News new | ask | show | jobs
by jeffbee 660 days ago
I believe the question was more around how the program knows how much memory to deallocate. The compiler generates the destructor calls the same way the compiler generates everything else in the program.