News for hackers. Stuff that matters.
Re:Java’s Checked Exceptions Are Evil? (2015) by josefx on Sunday September 23, 2018 @09:28AM (#18050981)
You could declare throw() exceptions in C++. If you did that the runtime would intercept and typecheck any thrown exception against that list. Calling code could rely on that list since any not listed exception would cause the application to terminate. Modern C++ replaced that with noexcept - a function either can throw or it can't and template code can branch on that information.

There are no comments on this comment yet.