
23 Dec
2007
23 Dec
'07
4:12 p.m.
I've had a few cases where my design required calling shared_from_this() in a constructor and destructor. I made some modifications to enable_shared_from_this which I have posted here: http://www.boost-consulting.com/vault/index.php?order=rating&direction=1&directory=Memory There is a test function in a test file in the zip archive that will fail if you call shared_from_this() instead of my ctor_shared_from_this() method. Rob