Hi Brian,
IMHO using
Boost Serialization[
^] should be simpler and easier to maintain than a home cooked solution, with not much more initial investment.
I don't foresee any problem with
std::iostream
as the
boost::serialization::archive
classes use them internally.
The current (1.44) library does not know about C++0x
std::shared_ptr
, but the source for serializing
boost::shared_ptr
is not that difficult to transpose to a custom
std::shared_ptr
serialization.
cheers,
AR