We need to define the semantics of block initialization of arrays

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Mon Jun 3 21:38:51 PDT 2013


On Monday, 3 June 2013 at 09:06:25 UTC, Don wrote:
> DMD has always accepted this initializer syntax for static 
> arrays:
>
> float [50] x = 1.0;

I would expect block initialization and have never considered 
first element initialization.


More information about the Digitalmars-d mailing list