On 8/18/06, Scott Meyers <usenet@aristeia.com> wrote:
... If A uses a
shared_ptr to B and B uses a weak_ptr to A, B's life will be shorter than A's
(its destructor will be invoked from A's destructor and will run to completion
before A's does), so there is no advantage to a weak_ptr being able to tell if
it dangles.