SysTutorials

Linux Manual Pages › Section 3

stdfunctionfunction(3)

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.