alias short Type1; alias Type1[100]* Type2; // pointer to an array struct Type3 { Type2 f } void foo() { Type3* b; Type1 d;d = b.f[10]; // compilation error: cannot implicitly convert expression ((*b).f[10]) of type short[100] to short
d = b.f[0][10]; // ok }
Thank you in advance