From: John Maddock (john_at_[hidden])
Date: 2006-09-01 05:01:24
Gregory Dai wrote:
>> Have I got that right?
> Well, not completely perhaps. E.g., at least if the target is a
> std::string of size=0, the resultant std::string may well be
> reference-counted and shared by multiple threads.
Can you explain some more? Are you saying that if two unrelated threads
each default construct a string (or maybe construct a zero length string?)
then they will be entangled by reference counting?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk