Boost logo

Boost Users :

Subject: Re: [Boost-users] [interprocess] Strange behaviour after push_back in a b::i::vector of b::i::weak_ptr
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2012-07-19 14:26:40


El 19/07/2012 20:25, Ion Gaztañaga escribió:
> El 19/07/2012 15:07, Gaetan Gaumer escribió:
>> Hello Ion a others interprocess guru,
>> I'm currently using an interprocess::vector storing
>> intreprocess::weak_ptr to data.
>> Sometimes after adding a shared_ptr to my vector with push_back, the
>> weak_ptr stored at the end of the vector is not
>> the one I just inserted, but a copy of a previously inserted weak_ptr.
>
> This seems a bug. Can you please fill a ticket with a test case so that
> this is not forgotten?

Maybe you could try a more recent interprocess code to check if the bug
is still there.

Best,

Ion


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