public member function
<future>

std::shared_future::~shared_future

~shared_future();
Destroy shared_future
Destroys the shared_future object.

If the object is valid (i.e., it has access to a shared state), it is disassociated from it. If it was the only object associated to the shared state, the shared state is itself also destroyed.

异常安全

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