T[new]

Kagamin spam at here.lot
Mon Aug 10 00:35:28 PDT 2009


Walter Bright Wrote:

> Resizeable arrays will be declared as:
> 
>     T[new] array;
> 
> The new expression:
> 
>     new T[10]
> 
> will return a T[new].
> 
> T[new] will implicitly convert to T[], but not the other way.
> 
> slice.length will become read-only.

Of what type will strings be? Of what type will be the result of concatenation?



More information about the Digitalmars-d mailing list