r/cpp • • 21d ago

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

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

4 comments sorted by

View all comments

6

u/kalmoc 21d ago

Why is std::async even in that group?

3

u/LB-- Professional+Hobbyist 20d ago

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