With statement become like C#'s using?
Michal Minich
michal.minich at gmail.com
Mon Aug 5 06:25:38 PDT 2013
On Monday, 5 August 2013 at 13:11:44 UTC, bearophile wrote:
> Michal Minich:
>
>> void foo ()
>> {
>> scope obj = new Object;
>> } // obj will be destructed here
>
> That usage of scope has being deprecated...
>
Why it is deprecated? I follow newsgroups, but that I miss...
I like it use together with scope classes: scope class C {} - are
they too deprecated?
More information about the Digitalmars-d
mailing list