[C++-sig] alternative smart pointer (intrusive_ptr) example

David Abrahams dave at boostpro.com
Mon Jul 28 18:10:58 CEST 2008


on Fri Jul 25 2008, Jeff Webb <jeff.webb-AT-nta-inc.net> wrote:

> So, it looks like this approach handles two of our issues.  The object
> identity problem still remains, but I will save that discussion for
> another post.  Any questions or comments are welcome.

The object identity issue is the big one.  Without a custom deleter --
which is why shared_ptr works so smoothly -- there's little you can do
about it, AFAIK.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com




More information about the Cplusplus-sig mailing list