
17 Dec
2002
17 Dec
'02
5:53 p.m.
From: "Stephen Crowley"
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