May 30, 2007 Re: Reference to an object disregarding mutation - what's the trick? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Manfred Nowak | Manfred Nowak Wrote:
> Steve Teale wrote
>
> > OK, here's the full story.
>
> What clumsy data structure might be organized by that?
>
> That seems to be
> arr= arr[ 0 .. findex] ~ newnode ~ arr[ findex .. arr.length];
> and nothing more.
>
> -manfred
Fair comment - I'm clearly still thinking somewhere back in C!
|
Copyright © 1999-2021 by the D Language Foundation