The guarantees made by constructors and destructors offer a nice way to let the compiler clean up after you.
Tell me more
×
English Language & Usage Stack Exchange is a question and answer site for
linguists, etymologists, and serious English language enthusiasts. It's 100% free, no registration required.
|
|
|
From the Macmillan dictionary: clean up after someone: to clean a place after someone has made it dirty or messy
Another example (closer to the one in your question), desctructor functions in some programming languages let you remove from memory the variables that are no longer needed by the computer program, i.e. to perform a clean up when the program no longer needs to use an object. |
||||
|
|