
10 Aug
2010
10 Aug
'10
1:48 p.m.
shared_from_this contains a weak_ptr. Why not implement a weak_from_this() member function? Upgrading and downgrading a shared_ptr costs expensive atomic ops. I've got some setup code that just gives weak_ptr's to boost::singals2::slot::track(). Is this a valid (and simple) feature request? Chris