On Wednesday, 16 April 2014 at 17:14:55 UTC, John Colvin wrote:
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.

The blade guards are the important part though: if you just want the allocation pattern, you can do that fairly easily yourself with plain library code and stuff like scope(exit) or raii destructors.

Reply via email to