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
associated
> performance implications; it can be constructed from a raw pointer (such
as
> '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.

[)o
IhIL..


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk