Namespaces
Variants
Views
Actions

std::promise::~promise

From cppreference.com
~promise();
(since C++11)

Abandons the ownership of the shared state, if any.