13 Apr
2018
13 Apr
'18
6:21 a.m.
On Thu, 2018-04-12 at 15:20 -0500, Nevin Liber wrote:
Look at <https://stackoverflow.com/questions/12314967/cohabitation-of -boostshared-ptr-and-stdshared-ptr>, which does a ptr.reset() in the deleter. It also describes the caveats with this hack.
Hmmm, it effectively works with ptr.reset() in the shared_ptr destructor. But I can't understand why it is needed though. Thanks! Regards -- David