|
Boost : |
From: Fernando Cacciola (fcacciola_at_[hidden])
Date: 2002-05-03 13:52:35
Hi Tyge,
FWIW, this approach has been already proposed outside boost by Vladimir
Batov in his article: "Safe and Economical Reference-Counting in C++". CUJ,
June 2000
The code can be downloaded from the CUJ archives.
I think that it presents a very nice and clean *closed* framework for
managing object lifetimes.
I don't think, however, that it interoperates well with 'conventional' smart
pointers -thus across different libraries-, since its semantics are not
'exactly' those of a smart pointer.
Batov's framework, however, is IMHO, if used consistently and within itself,
very very nice.
Fernando Cacciola
Sierra s.r.l.
fcacciola_at_[hidden]
www.gosierra.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk