The scope of scope(exit)

Sean Kelly sean at f4.ca
Thu Mar 9 22:41:43 PST 2006


Hasan Aljudy wrote:
> 
> What happens when an exception is thrown inside the scope(exit) block?

The same as when an exception is thrown from a finally block: the 
remainder of the block is not executed and the new exception is passed 
up the stack in place of the old one.


Sean



More information about the Digitalmars-d-learn mailing list