you are viewing a single comment's thread
view the rest of the comments
[–] 12 points 10 months ago

throw std::future_error(std::make_error_code(std::future_errc::broken_promise));

  • source