17 Aug
2008
17 Aug
'08
3:45 p.m.
On Sun, Aug 17, 2008 at 12:04 AM, Felipe Magno de Almeida < felipe.m.almeida@gmail.com> wrote:
On Sat, Aug 16, 2008 at 10:54 PM, Eduardo Panisset
wrote: On Sat, Aug 16, 2008 at 9:32 PM, David Abrahams
wrote: [snip]
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.
That would mean you would be sharing the std::vector, which is usually not allowed. You should synchronize the std::vector.
Ok Felipe, Thank you !