1. 程式人生 > >異常處理與MiniDump詳解-(3)SHE(Structured Exception Handling)

異常處理與MiniDump詳解-(3)SHE(Structured Exception Handling)

The __leave keyword is valid within a try-finally statement block. The effect of __leave is to jump to the end of the try-finally block. The termination handler is immediately executed. Although a goto statement can be used to accomplish the same result, a goto statement causes stack unwinding. The __leave statement is more efficient because it does not involve stack unwinding.