cpp/thread/shared future/~shared future

If is the last object referring to the shared state, destroys the shared state. Otherwise does nothing.