Boost logo

Boost :

Subject: Re: [boost] enable_shared_from_this2
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2009-10-27 15:43:36


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 27 October 2009, Peter Dimov wrote:
> Frank Mori Hess wrote:
> > The version currently in svn looks broken, ...
>
> It passes esft_constructor_test, which you wrote. :-)

I can fix that :) It looks like I only did tests of ownership, I never tested
the actual pointer value that was returned. I think I can fix
enable_shared_from_this2.hpp tommorrow, would it be okay for me to commit
changes to it to trunk? I'd like to go the path of a non-template
enable_shared_from_this2 with a free shared_from_this() function. The other
option would be adding a vtable to enable_shared_from_this2 and using
dynamic_cast (which I think I'm now remembering was required to make the
virtual inheritance stuff in shared_from_this_test.cpp pass).

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkrnTWoACgkQ5vihyNWuA4XwrwCeOJXvd5onLA1yUZICgkgvj/8z
QLYAoNzbrowruGFlcmnTgfOL/4AWSQZp
=r36I
-----END PGP SIGNATURE-----


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk