The returned std::future<> blocks on destruction until the value is available . However the normal destructor of std::future<> does not block: ~future();
The returned std::future<> blocks on destruction until the value is available . However the normal destructor of std::future<> does not block: ~future();