std::function<R(Args...)>::~function
From cppreference.com
< cpp | utility | functional | function
~function(); |
(since C++11) | |
Destroys the std::function instance. If the std::function
is not empty, its target is destroyed also.