From slices to perfect imitators: opByValue

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Thu May 8 09:33:06 PDT 2014


On Thursday, 8 May 2014 at 16:30:13 UTC, Sönke Ludwig wrote:
> For what practical reason would that be the case? I know that 
> the spec states "undefined behavior", but AFAICS, there is 
> neither an existing, nor a theoretical reason, why this should 
> fail:

Compiler optimizations based on immutability.

David


More information about the Digitalmars-d mailing list