3 ms·
> Can the ownership machinery reason about lifetimes of stack-allocated objects at all? It already does. If you compile with the -dip1000 switch, you'll be una
by WalterBright 7y ago
> Can the ownership machinery reason about lifetimes of stack-allocated objects at all?
It already does. If you compile with the -dip1000 switch, you'll be unable to escape references to the stack for @safe code.