
1 Jun
2010
1 Jun
'10
5:35 p.m.
Sometimes during serialization an object needs to know a lot more than it does during normal operation. The way I've dealt with this in the past is to subclass the archive I want to use and add setter/getters for the data that various objects down the line are going to need to store and retrieve themselves. Is there a better way though, something that's built into the library already maybe? I don't see anything but I thought I'd ask. -- http://crazyeddiecpp.blogspot.com/