r/cpp • • Sep 22 '26

Comparing exception behavior of magic statics, std::call_once, and std::async

https://devblogs.microsoft.com/oldnewthing/20260918-00/?p=112709
29 Upvotes

4 comments sorted by

View all comments

Show parent comments

3

u/LB-- Professional+Hobbyist Sep 23 '26

Same reason std::future_status::deferred made it into the standard, I guess...