On Monday, 24 February 2014 at 11:29:39 UTC, bearophile wrote:
TheFlyingFiddle:http://dlang.org/phobos/std_array.html#.uninitializedArray is what you want.
Wouldn't it be nice to have some kind of syntactic sugar for this similar to what we have for static arrays?
BTW: Why isn't simply the following allowed? int n = 3; int[n] = void; Is it too easy to confuse with static array syntax?