Boost logo

Boost :

From: Larry Evans (jcampbell3_at_[hidden])
Date: 2003-05-29 10:57:17


Gregory Colvin wrote:
[snip]
> It seems that rather than take the route of modifying all the
> standard containers one might as well just provide a special
> operator new(gc) and gc_allocator that can track all the memory
> blocks on the heap that might contain a shared_ptr. Then one
> can either replace global operator new with the special one,
> or use new(gc) or gc_allocator wherever needed.
I'm assuming that the advantage of the suggested method
over Boehm's collector would be the precision? I.e. no
false pointers are possible?


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