Boost logo

Boost Users :

Subject: [Boost-users] Why is _internal_weak_this public in enable_shared_from_this?
From: Joseph Garvin (joseph.h.garvin_at_[hidden])
Date: 2009-05-07 17:46:34

I can see why you might want to make it protected and have it friend
the shared_ptr template (because it does the initialization of
_internal_weak_this I think), but I don't see any obvious reason for
it to be public. Can anyone explain? You can see the relevant code

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at