On Tuesday, 26 November 2013 at 23:33:59 UTC, Namespace wrote:
Temp!int arr = Temp!int(512); /// arr is destroyed at the end of the scope----But that does not look very nice (especially because Temp!int does not indicate that it holds an array).
If you call it something other than "Temp" maybe it sounds better. auto arr = ScopedArray!int(512); Makes sense for me.