We need to define the semantics of block initialization of arrays
bearophile
bearophileHUGS at lycos.com
Tue Jun 4 07:12:42 PDT 2013
Sometimes I'd like to write code like this:
struct Foo {
int x;
}
void main() {
Foo[100] foos;
foos[].x = 10;
}
Bye,
bearophile
More information about the Digitalmars-d
mailing list