On Wednesday, 16 April 2014 at 16:51:57 UTC, Adam D. Ruppe wrote:
This is one of the things the `scope` storage class on local variables can do, but since it isn't implemented properly, it is not memory safe and thus its usage is deprecated.

I really really really want to see scope be fully implemented, including not allowing a reference to the variable to escape the scope, but this is easier said than done.

I would love to have a "scope" that works properly, with or without blade-guards to stop me chopping off my hands when the function returns.

Reply via email to