Currently this is not allowed, but do you desire a feature like this?

struct Foo {
    int x, y;
    int[100] array;
}
void main() {
    auto foos = new Foo[100];
    foos[].y += 10; // ***
}

Bye,
bearophile

Reply via email to