Create class on stack

ANtlord via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 7 22:37:41 PDT 2017


On Sunday, 6 August 2017 at 15:47:43 UTC, 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.
>
> [1] 
> https://dlang.org/deprecate.html#scope%20for%20allocating%20classes%20on%20the%20stack

I can't understand. Why is moved a scope allocation to a library. 
I'm pretty sure it should be a language feature.


More information about the Digitalmars-d-learn mailing list