DMD 0.148 - scope guard

Chris Miller chris at dprogramming.com
Mon Feb 27 15:12:42 PST 2006


On Mon, 27 Feb 2006 17:16:38 -0500, Dawid Ciężarkiewicz  
<dawid.ciezarkiewicz at gmail.com> wrote:

> Chris Miller wrote:
>
>> This format looks good to me:
>>
>> scope(exit)  foo();
>> scope(success)  bar();
>> scope(failure)  baz();
>
> Yeap. It's nice. Maybe s/success/pass/ s/failure/fail/ would even  
> improve it
> a little.

Good one.



More information about the Digitalmars-d mailing list