Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-06-16 06:40:45


Larry Evans wrote:
> On 06/15/2005 12:47 PM, Peter Dimov wrote:
>> Larry Evans wrote:
>
>>> Maybe you could more easily find the error in the conversion of
>>> sp_collector.cpp than me, if you're interested.
>
>
>> I'm not sure whether we should invest any effort in porting
>> sp_collector.cpp; it's not an official part of shared_ptr and
>> doesn't work reliably.
>
> Do you mean it doesn't work reliably because
>
> 1) the test for shared_ptr existence within a gc object is
> "conservative" and could result in "false" pointers and thereby
> retain memory which should be freed

This, and the fact that it can't follow a vector< shared_ptr<> > member, for
instance.


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