Boost logo

Boost Users :

From: Sohail Somani (sohail_at_[hidden])
Date: 2008-05-22 17:25:36


Bernhard Maeder wrote:
> Sohail Somani <sohail <at> taggedtype.net> writes:
>
>> Bernhard Maeder wrote:
>>> Hello all
>>>
>>> I'm trying to serialize a std::map along with some pointers that are
>>> referencing
>>> onto some of the Value elements of that map. What I see now, is that those
>>> references are not loaded correctly. Here's what I do:

>> This seems like a bug. If you change the map to an array or a std
>> vector, it works as expected.
>>
>
> Yes, I noticed that, too. Do you know if it's fixed in 1.34 or 1.35?

I was testing against 1.35 so I assume not. I took a look at the code as
well but I do not know why it didn't work as the code for the vector
looks almost exactly the same as the code for a map.

At the very least, take your example and file a ticket at
http://svn.boost.org

-- 
Sohail Somani
http://uint32t.blogspot.com

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