Boost logo

Boost Users :

Subject: Re: [Boost-users] Serialization of a universal data type
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-06-30 11:32:49


"Gokulakannan Somasundaram" <gokul007_at_[hidden]> wrote in message
  I could always create a new data-type(say SerializableDatum) with all the
required info, but then this data-type is being created only for the purpose
of serialization.
  Is there any better way to achieve the same result?

What could be better than this? For an example look at the NVP wrapper and
the
documentation of serialization wrappers. This method of "adding extra data"
(for xml this means the name tag of the variable) has worked very well.

Robert Ramey

Thanks,
Gokul.

_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net