On 2/1/14 6:50 PM, Daniel Micay wrote:
This could be restricted to `unsafe` code by making reflection
features `unsafe` and mandating that safe functions must compile for
types meeting the bounds.

The `size_of` functionality is absolutely required to have any hope of
writing smart pointers and containers in the library, without using ~T
and ~[T] as the sole allocators.

Oh, don't worry, I'm not proposing removing either transmute or sizeof. Just saying it bugs the theorist in me. :)

Patrick

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

Reply via email to