2 ms·
> If you build your C code as C++, exceptions will flow through it just fine. Exceptions will propagate up the stack, but won't clean up resources since the C
by account42 5y ago
> If you build your C code as C++, exceptions will flow through it just fine.
Exceptions will propagate up the stack, but won't clean up resources since the C code expects to do that manually. Same is true for non-RAII C++ code that is not written to expect exceptions.
Your main point is correct though: Large parts of the C++ stdlib do not throw.