$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Stan Vasilyev (stan.vasilyev_at_[hidden])
Date: 2006-06-22 00:50:51
I solved this problem like this. Not sure if it's the best approach,
but it worked for me.
class Mesh
{
int data;
};
class BinaryMesh : public Mesh
{
template<class Archive>
void serialize(Archive& ar, const unsigned int version);
}
class XMLMesh : public Mesh
{
template<class Archive>
void serialize(Archive& ar, const unsigned int version);
}
class TextMesh : public Mesh
{
template<class Archive>
void serialize(Archive& ar, const unsigned int version);
}
On 6/21/06, Bill Lear <rael_at_[hidden]> wrote:
> On Tuesday, June 20, 2006 at 12:50:37 (+0200) Vidal Roca writes:
> >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?
>