> Ary Borenszweig: >> Why, of course, the C syntax for types: >> int (*x[5])[3]; >> int (*x)(char); >> int (*[] x)(char); >> *Ugh*...
bearophile wrote:
> Try porting code that uses heavily n-dimensional tensors from C to D, and
> you understand why supporting the C syntax for arrays (with inverted
> coordinates in the definition) is a godsend :-)
Maybe we could enable them conditionally?
pragma(parser, enable_cstyle_func_and_array_decls);
{
int (*x[5])[3];
}
