Request: (T) == T

Russell Lewis webmaster at villagersonline.com
Wed Dec 12 08:26:22 PST 2007


Walter Bright wrote:
> Janice Caron wrote:
>> This would be useful for generic programming, mixin strings, etc.
> 
> Please post an example where it would be useful.

This is just a generalization of what some of us asked for, ages ago, 
relative to array declarations.

Only gurus know exactly what multidimensional arrays are declaring (I 
don't, I would have to look it up):
	char[2][3][4] foo;
	char bar[5][6][7];

But anybody could know, at a glance (well, rapidly, at least), what this 
is declaring:
	((char[9])[10])[11] baz;



More information about the Digitalmars-d mailing list