Create class on stack

Moritz Maxeiner via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 7 06:44:42 PDT 2017


On Monday, 7 August 2017 at 10:42:03 UTC, Jacob Carlborg wrote:
> On 2017-08-06 17:47, Moritz Maxeiner wrote:
>
>> If you use this option, do be aware that this feature has been 
>> scheduled
>> for future deprecation [1].
>> It's likely going to continue working for quite a while 
>> (years), though.
>
> It's used all over the place in the DMD code base.

I don't see how that's a reason for increasing the amount of code 
that needs to be changed if/when scope classes are deprecated. 
Mike's argument holds, though (if the loophole I pointed out gets 
fixed and scope classes are removed from the future deprecation 
list).


More information about the Digitalmars-d-learn mailing list