|
Boost Users : |
From: Ruediger Berlich (ruediger.berlich_at_[hidden])
Date: 2007-04-16 22:41:10
Ah - that makes sense (and works). Thanks!
Ruediger
Robert Ramey wrote:
> try something like the following:
>
> main()
> {
> test Test(1);
>
> // I want a stringstream, as my applicion is in remote processing
> ostringstream oss;
> assert(oss.good());
> {
> boost::archive::xml_oarchive oa(oss);
> oa << BOOST_SERIALIZATION_NVP(Test);
> } // oa destructor invoked - puts end tag on archive
> ...
> }
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