With statement become like C#'s using?

John Colvin john.loughran.colvin at gmail.com
Mon Aug 5 08:54:58 PDT 2013


On Monday, 5 August 2013 at 14:00:47 UTC, Dicebot wrote:
> On Monday, 5 August 2013 at 13:25:43 UTC, John Colvin wrote:
>> It's not a feature I've ever had the need for so far, but what 
>> is the replacement for scope?
>
> http://dlang.org/phobos/std_typecons.html#.scoped

cool, thanks. Any particular catches a user should be aware of? 
Other than leaking a reference of course.


More information about the Digitalmars-d mailing list