|
Boost Users : |
From: Stephen Crowley (stephenc_at_[hidden])
Date: 2002-12-17 15:04:38
On Tue, Dec 17, 2002 at 07:53:52PM +0200, Peter Dimov wrote:
> From: "Stephen Crowley" <stephenc_at_[hidden]>
> [...]
> > 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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net