
3 May
2011
3 May
'11
9:50 p.m.
Can we put that one sentence in the documentation in bold? Even if it is technically redundant, that's the phrasing that made it sink in for me. -- I agree. There is a statement noting how shared_ptr has the same thread-safety as a built-in type, but it is too abstract (for me anyway) to really interpret what that really means. Thinking of shared_ptr "like a string", which is much easier to picture the thread safety implications, was like turning on a lightbulb for me. It also corresponds to what I considered "intuitive" behaviour - which is what I was trying to confirm.