C++: The Obvious Final Step
akrzemi1.wordpress.com
akrzemi1.wordpress.com
[...]
> This is why std::uncaught_exception() has been removed from C++20 and instead, since C++17, we have std::uncaught_exceptions() (plural form) which gives you the number of uncaught exceptions in a given thread.
[...]
> And this solution works in C++17. But it no longer works in C++20, because now we have coroutines.
But I'm sure C++23 will fix exceptions for good. No? Wait, maybe C++26 will...