12 Aug
2008
12 Aug
'08
4:29 p.m.
using xml requires a little extra sauce to associate that "name" with the data item. Look deeper into the manual and check out other examples like demo_xml. Robert Ramey Markus Schwarzenberg wrote:
Hi,
i just recently startet to dip into boost::serialization. In the examples directory, there is demo.cpp, in which text_archive is used.
From my understanding of the tutorial ("In addition to text archives, the library includes archive class for native binary data and xml formatted data Interfaces to all archive classes are all identical.") it should be possible to switch from text_archive to xml_archive by just replacing text_[io]archive by xml_[io]archive and include the required header files.