On Tue, 22 Apr 2014 14:47:19 -0400, monarch_dodra <monarchdo...@gmail.com> wrote:

In this case no, but;
//----
int[1] foo();
int[] a = foo();
//----
*is* slicing an rvalue, and it *does* compile. I don't think there needs to be escape analysis to catch this.

Oh yeah, that's bad.

-Steve

Reply via email to