17 Aug
2008
17 Aug
'08
3:04 a.m.
On Sat, Aug 16, 2008 at 10:54 PM, Eduardo Panisset
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.
Thanks!
-- Felipe Magno de Almeida