Boost logo

Boost Users :

From: Miro Jurisic (macdev_at_[hidden])
Date: 2004-03-15 23:44:11


In article <uhdwufcez.fsf_at_[hidden]>,
 David Abrahams <dave_at_[hidden]> wrote:

> That never happens as long as the shared_ptr takes ownership in the
> same DLL where the new() occurs. At the point the raw pointer is
> acquired by the shared_ptr, a templated deleter is instantiated; it
> has knowledge not only of the correct heap but also the full type of
> the raw pointer. delete is always performed by dynamic dispatch.

This should be mentioned in the documentation. It's an extremely important
feature and I could find no mention of it anywhere other than what you just said.

meeroh

-- 
If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net