Boost logo

Boost :

From: Phil Nash (phil.nash.lists_at_[hidden])
Date: 2002-07-17 12:34:17

> > One point that might help clarify things is a statement on the intent of
> intrusive_ptr. I see it largely as a leaner alternative to shared_ptr,
> useful when you always have a counted_base (or equivalent). Is there any
> more to it?
> <
> intrusive_ptr is a generic intrusively-counted pointer, with the
> performance implications; it can be constructed from a raw pointer (such
> 'this'), and it can be used to manipulate COM objects.

Of particular utility is the ability to hand out intrustive_ptr's to
yourself from your "this" pointer alone.


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