Boost logo

Boost :

From: John Max Skaller (skaller_at_[hidden])
Date: 2001-05-26 02:16:39


Greg Colvin wrote:
>
I've had a look at Gregs cyclic_ptr system.
This is a nice system. The main advantage is ease
of use: unlike Felix GC, there are no shape objects,
since the cyclic_ptr itself records where pointers are.

The technique is also partly non-invasive: you can
collect any type T, but if T has pointers to collectable
objects, they need to be cyclic_ptrs.

The main disadvantages seem to be that the collector
is global (which could be fixed by passing a second
argument along with each raw pointer?).

--
John (Max) Skaller, mailto:skaller_at_[hidden]
10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850
checkout Vyper http://Vyper.sourceforge.net
download Interscript http://Interscript.sourceforge.net

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