DMD 0.148 - scope guard

Sean Kelly sean at f4.ca
Sun Feb 26 12:05:35 PST 2006


Walter Bright wrote:
> Scope guards are a novel feature no other language has. They're based on 
> Andrei Alexandrescu's scope guard macros, which have led to considerable 
> interest in the idea. Check out the article 
> www.digitalmars.com/d/exception-safe.html

Awesome :-)  I've been wondering when this would make it into D.  It 
certainly beats the heck out of the RAII approach.


Sean



More information about the Digitalmars-d mailing list