As far as I know it is not defined (undefined behaviour) in C++STD how compiled application should handle situations when one shared library raises exception inside another one [shared lib]. The code produced by G++/Linux shows that it is possible to raise exceptions between shared libraries.
My questions are:
- Is it portable (MSVS) ?
- In which cases shared library
Awill not be able to handle an exception from shared libraryB? [I mean the application would crash; libraryAknows about possible exceptions fromB]. - Does exception handling behaviour in my example depend on linker?