History

add test program for package boost

Volker Grabsch committed 16 years ago

Commit daa15d31 parent a9b51d82 files · +22 −0Browse files

Showing the changes to src/boost-test.cpp (1 of 2 files). Show all

Unified · Split

src/boost-test.cpp+17−0
@@ -0,0 +1,17 @@
1/* This file is part of mingw-cross-env. */
2/* See doc/index.html for further information. */
3
4#include <iostream>
5#include <boost/archive/xml_oarchive.hpp>
6
7int main(int argc, char *argv[])
8{
9 (void)argc;
10 (void)argv;
11
12 boost::archive::xml_oarchive oa(std::cout);
13 std::string s = "\n\n Hello, World!\n\n";
14 oa << BOOST_SERIALIZATION_NVP(s);
15
16 return 0;
17}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t