summaryrefslogtreecommitdiffstats
path: root/src/boost-test.cpp
blob: ea809feb31f19918b8d45020235eeb804102472b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* This file is part of mingw-cross-env.       */
/* See doc/index.html for further information. */

#include <iostream>
#include <boost/archive/xml_oarchive.hpp>

int main(int argc, char *argv[])
{
    (void)argc;
    (void)argv;

    boost::archive::xml_oarchive oa(std::cout);
    std::string s = "\n\n    Hello, World!\n\n";
    oa << BOOST_SERIALIZATION_NVP(s);

    return 0;
}