
26 May
2008
26 May
'08
1:15 p.m.
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