std::function::function (3) Linux Manual Page
std::function<R(Args…)>::~function – std::function<R(Args…)>::~function
Synopsis
~function(); (since C++11)
Destroys the std::function instance. If the std::function is not empty, its target is destroyed also.
