public member function
<functional>

std::function::~function

~function();
Destroy function wrapper
Destroys the function object.

This destroys its target, and deallocates any storage allocated by the object.

資料競爭

Both the object and its target are modified.

異常安全

無異常保證: 絕不丟擲異常。