Monday, 15 July 2013

c++ - catch type dispatching time -


There was a question that was discussing with colleagues - time to type hold Is compiled or tun time? In other words - when the system decides that to capture the special code should be applied when an exception of that particular type is thrown. I think it should be run-time, but I'm not sure.

Any help would be appreciated!

Description of the many techniques used by the document Compiler to deal with exception handling.

The latest compilers make up a table that maps to the exception type in the call handler location (during the compile phase). When the compiled program runs and throw , a pre-computed table is made to look at what is used to find the handler location.


No comments:

Post a Comment