Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Shared_ptr thread safety comes at a huge cost | Better HN
Shared_ptr thread safety comes at a huge cost
(nerds-central.blogspot.com)
5 points · by
code-dog
· 14y ago · 1 comment
Comments
[–]
SamReidHughes
14y ago
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.)