Re:Java’s Checked Exceptions Are Evil? (2015)
by pjmlp on Sunday September 23, 2018 @07:08AM
(#18050515)
Yes there are.
Just that instead of being a compiler error like in Java, the unexpected() handler is called; which by default calls terminate() to kill the application.
This behaviour has been removed in C++17.
However C++23 might introduce a similar syntax for value type exceptions, but following up semantics similar to how Swift does it.
Just that instead of being a compiler error like in Java, the unexpected() handler is called; which by default calls terminate() to kill the application.
This behaviour has been removed in C++17.
However C++23 might introduce a similar syntax for value type exceptions, but following up semantics similar to how Swift does it.