Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-10-13 09:20:34


Cody Batt wrote:
> Hello,
>
> It seems that classes which inherit from enable_shared_from_this are
> required to explicitly initialize _internal_weak_this.
> 1) Is that correct? If not, how is it initialized?

No, this is not correct. You aren't supposed to touch _internal_weak_this,
you aren't even supposed to know that it exists. It is initialized by the
implementation.


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