On 1/27/2015 8:57 PM, deadalnix wrote:
For ref return, we can still
make it safe by defining the lifetime of the ref return as the intersection of
the lifetime of the ref parameters and call it a day. As far as I can tell, this
cover the vast majority of cases.

The trouble with that is when you *do* need to return a ref that is unrelated to the ref parameters, there will be no way to do it.

Reply via email to