
29 Oct
2009
29 Oct
'09
1:45 a.m.
Frank Mori Hess wrote:
I've commited boost/smart_ptr/enabled_shared_from_raw.hpp to trunk (I svn moved enable_shared_from_this2.hpp).
So long as we're innovating, consider adding weak_from_raw as well. It can give you an expired weak_ptr to 'this' from within a destructor, which is useful for deregistration.