std::function<R(Args...)>::~function

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

# Declarations

~function();

(since C++11)

# See also