dmd 2.057 release
Christian Manning
cmanning999 at gmail.com
Fri Dec 16 19:19:40 PST 2011
On Friday, 16 December 2011 at 22:48:21 UTC, Jonathan M Davis
wrote:
> That actually has exactly the same problem. You're slicing a
> temporary. You can't slice a static array unless it's an actual
> variable, or you're going to have problems. b points to a slice
> of a static array which doesn't exist anymore. It _might_ work
> depending on how the registers used and how the stack is laid
> out, but it's still a bad idea.
Ah I get it now, thanks.
More information about the Digitalmars-d-announce
mailing list