Boost logo

Boost Users :

From: Lars Hagström (lars_at_[hidden])
Date: 2008-05-26 09:15:11


Hi,

I just tried to use enable_shared_from_this in boost interprocess, but
it did not seem to work. I only got a bad_weak_ptr exception.

Looking a little bit in shared_ptr.hpp (comparing the interprocess one
and the "normal" one) it appears that calls to
sp_enable_shared_from_this are not made in the constructors as they
ought to be.

Is this a known bug, or am I doing something wrong?

Cheers
Lars




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