r/cpp • u/User_Deprecated • Jul 11 '26
Propagating exceptions from destructors with std::exception_ptr
https://www.sandordargo.com/blog/2026/07/08/exception_ptr
80
Upvotes
r/cpp • u/User_Deprecated • Jul 11 '26
View all comments
Show parent comment
4
u/Som1Lse Jul 11 '26
Yes, but if there isn't a
co_await/co_yieldbetween the throw and the call tostd::current_exception(which there obviously isn't in the article) that point is moot.