Destructors in C++
As opposed to a constructor, a destructor is called when a program has finished using an instance of an object. […]
As opposed to a constructor, a destructor is called when a program has finished using an instance of an object. […]