Am 27.11.2013 09:54, schrieb Andrea Fontana: > 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.
+ (I think that) std.container.Array does exactly the desired thing (haven't used it so far).
