Extended Type Design.

Walter Bright newshound at digitalmars.com
Fri Mar 16 15:54:26 PDT 2007


Derek Parnell wrote:
> Given ...
> 
>    int[int**][]*[char[]][3][17][3,17]* x;
> 
> and I want to make the 'x' immutable and the 'char[]' immutable, how does
> one write the declaration? Where does one place the 'final'/'const'/'super
> const' and where do the parenthesis go?

final int[int**][]*[ const(char[]) ][3][17][3,17]* x;



More information about the Digitalmars-d mailing list