Array void init

bearophile bearophileHUGS at lycos.com
Fri Apr 26 08:18:53 PDT 2013


Luís Marques:

> Should this be supported?
>
>     double[8] foo = [1.0, 2.0, void, 3.0, 3.5, void, void, 
> void];
>
> (it's not supported at the moment)

I think I have not needed this so far. It looks dangerous. 
Generally D tries to initialize variables. What are your use 
cases?

Bye,
bearophile


More information about the Digitalmars-d mailing list