
27 Sep
2004
27 Sep
'04
4:03 p.m.
Hi Vladimir, On Mon, Sep 27, 2004 at 03:21:17PM +0400, Vladimir Prus wrote:
Do I need to write
ar & nvp<MyMemberType>("my_member_tag", this->my_member);
in my serialization functions for every variable I want to (de-)serialize?
You can also use
ar & BOOST_SERIALIZATION_NVP("my_member")
Ah, now I found it in the docs! I had searched the table of contents for xml and nvp but the non abbreviated entry "Name-Value Pairs" escaped me. Since you mentioned above macro I decided to look again... Thanks! Regards Christoph -- http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/cludwig.html LiDIA: http://www.informatik.tu-darmstadt.de/TI/LiDIA/Welcome.html