I am including a third party header file. It has functions that may / may not throw exceptions. In my source code, how do I determine which exceptions can be selected from this file? It was an interview question. My answer went through function declarations and looked for an exception specification. This may give us some hint. Is there any other way by which we can predict exceptions that could be thrown?
source share