Sohail Somani | 22 May 23:25

Re: [serialization] Handling of references into a std::map

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

Gmane