On Sat, Aug 16, 2008 at 10:54 PM, Eduardo Panisset[snip]
<eduardo.panisset@gmail.com> wrote:
> On Sat, Aug 16, 2008 at 9:32 PM, David Abrahams <dave@boostpro.com> wrote:
That would mean you would be sharing the std::vector, which is usually not
> I could have one thread calling a clear method of std::vector, while another
> thread was copying a shared_ptr placed in the same std::vector.
allowed. You should synchronize the std::vector.