Well, the intention of adding noexcept is to prevent exceptions escaping from C++ into C.

The REAL problem with exceptions is is when one passes through some C code and back into C++ which catches it and continues to execute. Who knows what state the data being manipulated by the C code will be in since it will never complete its execution.

If an exception tries to exit a noexcept function its an automatic terminate which tells the programmer they screwed up.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.