view src/boost-test.cpp @ 993:be3969597cbd

update release notes
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 20 May 2010 22:31:36 +0200
parents 27fc875921a2
children 2b7f7e06976b
line wrap: on
line source

/* 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;
}