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.

Reply via email to