From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2003-10-05 11:20:16
> On 10/05/2003 10:14 AM, Philippe A. Bouchard wrote:
>> This is exactly how it works... (beside node::n which was not
> Yeah, node::n was a legacy from before node was made a template
> on the gc method.
> Anyhow, I can't see a difference between rc_collect and gc_collect.
> both fail to collect cycles. Could you summarize the difference
Yes of course. The garbage collector implemented in shifted_ptr.hpp is a
quite simple example which only postpone the destruction of memory
allocations. It only accumulates up to a 100 std::free(void *) calls, it
does not deal with cyclic references unfortunately.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk