Boost logo

Boost Users :

From: Johan Råde (rade_at_[hidden])
Date: 2008-05-22 11:18:43


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


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