Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::enable_shared_from_this why?
From: Germán Diago (germandiago_at_[hidden])
Date: 2009-01-15 06:43:09


Imagine you have to acquire shared_ptr to the object from within its member
> function. How would you do this without shared_from_this()?
>

Anyway, which is the reason to access a variable through a member function
if you can get the variable directly anyway? Or is there any
case where you can't?

> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



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