|
Boost : |
From: Robert Shuchatowitz (robert.shuchatowitz_at_[hidden])
Date: 2005-01-25 10:49:34
Hi,
We have a class containing a vector of objects (not pointers to them) and a member class containing a vector of pointers to a subset of those objects. We have tried to serialize the classes, but after loading the subset, we see that the pointers in the subset are not set properly. That is, they do not point to the data in the master vector.
Is there a way of doing this besides using new() for the objects in the master set?
Thanks,
robert
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk