A function provided by a class in c++ and some other object-oriented languages to delete an object, the inverse of a constructor.