Syntax for heap allocated void initialized arrays

simendsjo simendsjo at gmail.com
Sat Sep 21 06:31:31 PDT 2013


On Saturday, 21 September 2013 at 11:36:32 UTC, bearophile wrote:
> simendsjo:
>
>> Thanks. uninitializedArray works well for my need.
>
> uninitializedArray is the wrong function to use in 99.9% of the 
> times. std.array docs probably have not explained you well 
> enough the risks of its usage.
>
> Bye,
> bearophile

I'm setting every element in the array, and every field of the
element, so I should be safe, right?


More information about the Digitalmars-d-learn mailing list