Boost logo

Boost :

From: Phil Nash (phil.nash.lists_at_[hidden])
Date: 2002-06-24 09:01:51

Hi all,

I know there was a discussion a while back about the inclusion of intrusive
smart pointer semantics, either into shared_ptr or as a seperate
intrusive_ptr class (or a bit of both). AFAICS some work has gone on in the
CVS version of shared_ptr, but I gather this is not mature yet.
What's the status on this? (I was trawling through the mail list history but
found it difficult to find anything conclusive).
Are the instrusive pointer semantics in shared_ptr being used by people in
real projects yet, or is it too experimental.
Also, I presume that weap_ptr's are still interoperable with intrusively
counted shared_ptrs - is that a valid assumption?

I would like to use it in our project, but don't want to if it is likely to
be removed, or significantly changed in the near future - or is too
incomplete to use. I don't mind a few issues in it that I can report back on
to feed into development.
I know the the discussion before evolved into a sub thread of the
policy-based smart pointer thing, but that looks a little way off making its
way into boost just yet (I had some further thoughts on that that I would to
feed back in sometime soon, I hope). In the meantime I don't want to have to
implement something from scratch myself if significant headway has been made
on a boost version (another alternative is that I use Loki::SmartPtr, but
then I would still have to write my own intrusive and weak ownership

Best regards,


Boost list run by bdawes at, gregod at, cpdaniel at, john at