[geos-devel] Unclear objects lifetime and ownership issues in
Monotone Chain components
Mateusz Loskot
mateusz at loskot.net
Wed Sep 24 14:34:58 EDT 2008
Martin Davis wrote:
> Good point, Sandro - I always thought that a limitation of the smart-ptr
> / reference counting technique was that it couldn't handle circular
> references correctly. The JTS internals are *full* of circular
> structures (e.g. all the graph structures)
shared_ptr + weak_ptr idioms should solve it right, in GEOS.
Best regards,
--
Mateusz Loskot
http://mateusz.loskot.net
More information about the geos-devel
mailing list