$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Smart Pointer] Reference counting when you don't want to manage memory [Honeywell Internal]
From: Bruce Stephens (bruce.r.stephens_at_[hidden])
Date: 2014-08-26 16:02:39
On Tue, Aug 26, 2014 at 8:58 PM, Nat Goodspeed <nat_at_[hidden]> wrote:
> Then there's intrusive_ptr<T>, which for a given T calls
> user-specified functions for both incrementing and decrementing the
> refcount...
> http://www.boost.org/doc/libs/1_56_0/libs/smart_ptr/intrusive_ptr.html
That's true. With intrusive_ptr you have to supply your own counter, but
presumably you're wanting to do that anyway in this case.