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