On 13-07-07 03:48 AM, Matthieu Monrocq wrote:

There is a specific rule in the C++ specification to address
temporaries: they should live up until the end of the full expression
they are part of.

Yeah. We need to nail this down, it's been open for a while, is on milestone #1:

https://github.com/mozilla/rust/issues/3511

-Graydon

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to