Inability to dup/~ for const arrays of class objects

Peter Williams pwil3058 at bigpond.net.au
Thu May 30 17:05:59 PDT 2013


On 30/05/13 16:21, Ali Çehreli wrote:
> On 05/29/2013 06:54 PM, Peter Williams wrote:
>  > I find the mechanism described in the article a little disconcerting and
>  > it certainly needs more publicity as it's a bug in waiting for the
>  > unwary.
>
> It certainly is disconcerting. Performance have played a big role in the
> current semantics of slices.

I should have added that it was the non determinism that disconcerted 
me.  It doesn't really affect me personally as a programmer now that I 
know about it as I can just avoid it.  But it blows out of the water any 
hopes of having "proveably correct"  non trivial code.

Peter


More information about the Digitalmars-d mailing list