In general, I tend to use try/catch for code which has multiple failure points for which the failures have a common handler.
In my experience, this is typically co
I found a technical report on C++ performance (pdf warning) that includes a section on exceptions. You might find it interesting. I've had coworkers who believed there was overhead on every instruction within a try/catch block, but this technical report doesn't seem to support that idea.
Depends on a compiler. Why don't you write a simple function with a try-catch block and a similar one without it and compare the generated machine code?