public member function


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.

Exception safety

No-throw guarantee: never throws exceptions.