On 02/04/14 03:18 PM, Clark Gaebel wrote:
> Passing the size to free is currently in a C++14 proposal [1]. It's
> pretty useful (makes free no slower, might make it faster) and in most
> code, the size is available on free. I'm not sure it would should be
> mandatory, but it's definitely useful.
> 
> [1] http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2013/n3536.html

Allocators already do take the size, so it already works for containers,
etc.

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to