$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [serialization] Attaching arbitrary data to an archive
From: Noah Roberts (roberts.noah_at_[hidden])
Date: 2010-06-01 13:35:06
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/