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.

异常安全

无异常保证: 绝不抛出异常。