public member function
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.
No-throw guarantee: never throws exceptions.