enable_shared_from_this::weak_from_this() request
Hi, boost users and experts.
I often use boost::enable_shared_from_this.
I know - it contains boost::weak_ptr, which is initiated in the details of
boost::shared_ptr's constructor.
Also sometimes I need function weak_from_this() at the classes derived from
boost::enable_shared_from_this. For now I use something like:
class my_class
: public boost::enable_shared_from_this
participants (1)
-
Marat Abrarov