Namespaces
Variants
Actions

std::copyable_function::~copyable_function

From cppreference.com
 
 
 
Function objects
Function invocation
(C++17)(C++23)
Identity function object
(C++20)
Old binders and adaptors
(until C++17*)
(until C++17*)
(until C++17*)
(until C++17*)  
(until C++17*)
(until C++17*)(until C++17*)(until C++17*)(until C++17*)
(until C++20*)
(until C++20*)
(until C++17*)(until C++17*)
(until C++17*)(until C++17*)

(until C++17*)
(until C++17*)(until C++17*)(until C++17*)(until C++17*)
(until C++20*)
(until C++20*)
 
 
~copyable_function();
(since C++26)

Destroys the std::copyable_function object. If the std::copyable_function is not empty, its target is also destroyed.

[edit]See also

destroys a std::function instance
(public member function of std::function<R(Args...)>)[edit]
destroys a std::move_only_function object
(public member function of std::move_only_function)[edit]
close