Simple immutable example doesn't work - why???

TheFlyingFiddle theflyingfiddle at gmail.com
Mon Nov 11 17:36:10 PST 2013


On Tuesday, 12 November 2013 at 01:33:29 UTC, TheFlyingFiddle 
wrote:
> On Tuesday, 12 November 2013 at 01:15:02 UTC, Louis Berube 
> wrote:
>> I thought the parantheses in the array declaration would do 
>> the trick, but apparently not.
>
> Well when you create an immutable array you cannot change any 
> of the elements in the array. I'm guessing what you want is a 
> mutable array that contains immutable objects. I don't think 
> you can create such an array in D (i am not sure though i doubt 
> that it would be usefull anyhow)

Plz ignore my pervious statment. I guess i'm to tiered atm i take 
it all back.


More information about the Digitalmars-d-learn mailing list