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@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users