On Thu, Nov 07, 2013 at 08:40:27PM -0500, Jason Fager wrote:
> Let me ask another way:  what's wrong with thinking of ~ just as meaning
> "allocate to the heap and subject to move semantics"?  When would that
> simplification bite me in the ass regarding owned boxes vs strs/vecs?

I don't consider that to be a simplification, really. It sounds about
right to me. Of course a `~` pointer is not the only way to have move
semantics; any destructor will do.


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

Reply via email to