Boost logo

Boost Users :

Subject: Re: [Boost-users] Thread Safety of shared_ptr
From: Kevin Frey (kfrey_at_[hidden])
Date: 2011-05-03 17:50:57


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.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net