std::function<R(Args...)>::~function
~function(); |
(since C++11) |
Destroys the std::function
instance. If the std::function
is not empty, its target is destroyed also.
See also
(C++23)
|
destroys a std::move_only_function object (public member function of std::move_only_function<R(Args...) cv ref noexcept(noex)> ) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/utility/functional/function/%7Efunction