Destructor
Also written: destructors
A member function named `~` plus the class name that runs automatically when an object ends. It is where an object gives back what it holds.
Also written: destructors
A member function named `~` plus the class name that runs automatically when an object ends. It is where an object gives back what it holds.