Is deallocation needed within a program?

I used to work in Computer Services and sadly remember the early days of providing C++ support around the time of the first C++ standard. Destructor calls were a major issue with several compilers as the termination of the main program meant destructors were often not called. Moving everything from the main program into a void procedure and calling that often revealed where the problem lay with the code.

1 Like

Thank you all for the clarification!

1 Like