std::promise<R>::~promise

< cpp‎ | thread‎ | promise
~promise();
(since C++11)

Abandons the shared state: