cpp/utility/functional/function/~function

Destroys the std instance. If the is not empty, its target is destroyed also.