
17 Dec
2002
17 Dec
'02
1:04 p.m.
On Tue, Dec 17, 2002 at 07:53:52PM +0200, Peter Dimov wrote:
From: "Stephen Crowley" <stephenc@digitalpassage.com> [...]
I have my own implementation called smart_ptr which is based on smart_ptr and weak_ptr, which is used in pretty much the same way.
public MyClass: public smart_class<MyClass> { ... }
The next Boost release will (likely) contain a similar helper, see:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/boost/boost/libs/s mart_ptr/enable_shared_from_this.html?rev=1.1
Cool, this is exactly what I was looking for, how long has it been around? -- Stephen