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

Jeff Webb jeff.webb at nta-inc.net
Mon Jul 28 18:39:17 CEST 2008


David Abrahams wrote:
> 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.

Thanks, Dave.  I have found a solution that seems to work for me.  I will post it soon.  I would definitely like to have you and some others take a look at it and see if it looks reasonable.

-Jeff
 




More information about the Cplusplus-sig mailing list