Destructor (computer programming)
Appearance
In object-oriented programming, a destructor is a method which is automatically invoked when the object is destroyed. It's main purpose is to clean up and to free the resources which were acquired by the object along it's life cycle.
See also
References
- Bjarne Stroustrup: The C++ Programming Language, Addison-Wesley, ISBN 0-201-70073-5