std::function::~function
From cppreference.com
< cpp | utility | functional | function
~function(); |
(since C++11) | |
Destroys the std::function instance. If the stored callable is valid, it is destroyed also.