On 12/30/12 12:56 PM, Lucian Branescu wrote:
Would it be possible to have a more general mechanism for creating and
relinquishing objects? The rvalue trick seems obscure and only
situationally useful.

Broadly speaking, that's what "move" is for. Did you want something beyond that?

Patrick

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

Reply via email to