Shared_ptr thread safety comes at a huge costnerds-central.blogspot.com 5 pointscode-dog14 years ago1 commentSaveHideCopy link On HNComments−SamReidHughes14yYep. I have a policy of at least replacing any shared_ptr usage with intrusive_ptr, for that reason. (A downside they both share is that they have copy constructors.)
Comments
Yep. I have a policy of at least replacing any shared_ptr usage with intrusive_ptr, for that reason. (A downside they both share is that they have copy constructors.)