SolidWallOfCode commented on issue #5735: URL: https://github.com/apache/trafficserver/issues/5735#issuecomment-940526318
The difference is `Ptr` puts the reference count in the object. With `shared_ptr` the reference count is in potentially unrelated memory. Therefore the `Ptr` reference count can always correctly reconstructed from the object, which is not the case for `share_ptr`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
