> The problem with that is: if allocation and initialization are not
> fundamentally merged, you lose memory safety.

ok.

> I've actually never seen a use case for placement new that couldn't be done
> just as well with other idioms.

i've usually used it to manually recycle memory. evil and dangerous
but important when i can't make the gc better. i think we might have
once used to to wrapper up 3rd party memory into our own objects as
well (long time ago, i cannot really recall).
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to