I was wondering if there is some compiler parameter, preferably in gcc (g++) which treats the lack of try/catch blocks as errors. This is the standard behavior in java and I was alway fond of it.
I was wondering if there is some compiler parameter, preferably in gcc (g++) which
Share
Since checked exceptions in Java rely on the
throwsignature, you can read why you will not want to usethrowfunction signatures in C++ in this question on SO.