resizeable arrays: T[new]

Walter Bright newshound1 at digitalmars.com
Fri Jun 8 11:03:39 PDT 2007


Jarrett Billingsley wrote:
> "Walter Bright" <newshound1 at digitalmars.com> wrote in message 
> news:f4b70o$i3t$1 at digitalmars.com...
>> Oskar Linde wrote:
>>
>> They'll be invariant static arrays.
> 
> Why wouldn't they be invariant unresizable arrays?

Because static arrays can be implicitly cast to unresizable arrays, but 
not vice versa.

> Or do you plan on fixing 
> all the special casing stuff that has to be taken into account when using 
> string literals in {templates, array literals, AA literals, etc.}? 

I don't know what you mean.



More information about the Digitalmars-d-announce mailing list