4 ms·
...and the same is true of Rust, just with different defaults. Switch allocation failure from an abort to a panic and catch the panic just like you would in C++
by Rusky 11y ago
...and the same is true of Rust, just with different defaults. Switch allocation failure from an abort to a panic and catch the panic just like you would in C++.
What's incomplete about that? It's not like C++ can't be switched in the other direction with -fno-exceptions or equivalent.
- quotemstr 11y ago-fno-exceptions is not part of C++. C++ is not whatever GCC and Clang happen to accept.