DMD 0.148 - scope guard

Sean Kelly sean at f4.ca
Mon Feb 27 17:36:19 PST 2006


Hasan Aljudy wrote:
> 
> Why do we need to handle "on failure" and "on success" any differently 
> than a regular scope exit?

See the "transaction processing" examples here: 
http://www.digitalmars.com/d/exception-safe.html


Sean



More information about the Digitalmars-d mailing list