On Friday, 5 May 2017 at 18:04:32 UTC, Dukc wrote:
The compiler is too cunning to let you to leak test[x] out of a function by reference, or take an address of it. Nor you can assing it to another variable, because that means copy semantics.

And oh, the identity function won't fool the compiler either, it infers return scope, -dip25 or no.


Reply via email to