|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-09-21 16:00:40
From: "David Abrahams" <dave_at_[hidden]>
> From: "Peter Dimov" <pdimov_at_[hidden]>
>
> > I think I understand. This is another optimization that would complicate
> the
> > implementation.
>
> Of course ;-)
>
> BTW, why would you want to derive from shared_count other than to handle
> the Interface-based Design example with MI you posted a few days ago?
>From counted_base, you mean? By popular demand, counted_base-derived objects
can be used with intrusive_ptr, too (and such an intrusive_ptr can be
converted to a shared_ptr.)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk