22 May 17:18
Re: [serialization] Handling of references into a std::map
From: Johan Råde <rade <at> maths.lth.se>
Subject: Re: [serialization] Handling of references into a std::map
Newsgroups: gmane.comp.lib.boost.user
Date: 2008-05-22 15:18:43 GMT
Subject: Re: [serialization] Handling of references into a std::map
Newsgroups: gmane.comp.lib.boost.user
Date: 2008-05-22 15:18:43 GMT
Bernhard Maeder wrote: > 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. You could save a reference to the map and the value of the key for the element. When you load the archive, you can use that information to reconstruct the reference to the element. --Johan Råde
RSS Feed