I mean, sure it could be potentially unsafe, but the new library solution (using std.typecons.scoped) does the exact same thing and is just as unsafe for the same reasons, is it not? I would rather continue to use the keyword scope instead of having to import another module in order to use this feature.
Why was scope for allocating classes on the stack marked for deprecation?
Jeremy DeHaan via Digitalmars-d-learn Fri, 17 Oct 2014 10:00:36 -0700
I'm curious as to why using scope to allocate classes on the
stack was marked for future deprecation.
- Why was scope for allocating classes... Jeremy DeHaan via Digitalmars-d-learn
- Re: Why was scope for allocatin... Adam D. Ruppe via Digitalmars-d-learn