Reference to an object disregarding mutation - what's the trick?

Steve Teale steve.teale at britseyeview.com
Wed May 30 08:19:56 PDT 2007


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!



More information about the Digitalmars-d mailing list