[Github-comments] [geany/geany] Plugins: Needless forward declaration of geany_load_module() (#1215)

elextr notifications at xxxxx
Tue Sep 6 12:54:07 UTC 2016


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 or view it on GitHub:
https://github.com/geany/geany/issues/1215#issuecomment-244940716
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160906/c09b1f6a/attachment.html>


More information about the Github-comments mailing list