
22 Jun
2006
22 Jun
'06
8:55 a.m.
Sorry for the unclear question.
As Bill Lear clarified, I mean the following (not archive formats):
class Foo {
template<class Archive>
void serialize(Archive& ar, const unsigned int version);
template<class Archive>
void serialize_II(Archive& ar, const unsigned int version);
};
where serialize_II reads and writes the data structure in a different manner
than serialize.
It could be possible using versioning; but is there any other possibility?
Thanks,
Vidal
"Vidal Roca"
It is possible to define more than one serialization format for a data structure with the serialization library? If not, has someone some good purposes to make it to? Thanks, Vidal