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?

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to