On Fri, Nov 8, 2013 at 5:43 PM, Huon Wilson <[email protected]> wrote:
> > This will make transmuting ~ to get a * (e.g., to allocate memory for > storage in an Rc, with automatic clean-up by transmuting back to ~ on > destruction) harder to get right, won't it? > FWIW, the only reason to do that right now is to support the current managed pointer scheme. It could be replaced by a proper rooting API. Unique pointers don't support allocators, so any containers/pointers with allocator support already need to abandon managed pointer support.
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
