I am working on a small c++ program and learning exceptions. Is the following code \"bad\", and if so, what can I do to improve it?
try { // code if
There is the general issue of not being able to easily filter your exceptions and act on them based on type. However, i don't know if there is a C++ specific reason not to do it