On Wed, 17 Dec 2008 23:04:43 -0800, Christian Kamm
<[email protected]> wrote:
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];
}
They are conditional: you choose to write them or not <g>