Boost logo

Boost :

From: Larry Evans (jcampbell3_at_[hidden])
Date: 2002-09-07 11:39:39


Larry Evans wrote:

> Greg Colvin wrote:
>
> Anyway, the shared_ptr and shared_count also were modified to allow
> this. I could
> post these if you want, or I could give further explanation. I
> realize this is kinda sketchy,
> but let me know and I try and be clearer.
>
Another modification I was thinking of was using the allocator from the
conservative
collector of cmm (ftp://ftp.di.unipi.it/pub/project/posso/cmm/cmm.tgz).
 I figured
it could be used to enumerate all the allocated objects (much like
iterating
through cyclic_ptr's recycler's handles). In addition, since this is a
conservative collector,
it would be easy to check for any leaks. What do you think? Also, it
could be used
to eliminate the need for a weak_ptr count (as mentioned in my earlier
post about "conserve+
shared_ptr advantages.")


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