diff options
Diffstat (limited to 'src/boost/libs/property_tree/test/sandbox.cpp')
-rw-r--r-- | src/boost/libs/property_tree/test/sandbox.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/boost/libs/property_tree/test/sandbox.cpp b/src/boost/libs/property_tree/test/sandbox.cpp new file mode 100644 index 00000000..9eb5908d --- /dev/null +++ b/src/boost/libs/property_tree/test/sandbox.cpp @@ -0,0 +1,22 @@ +// ---------------------------------------------------------------------------- +// Copyright (C) 2009 Sebastian Redl +// +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) +// +// For more information, see www.boost.org +// ---------------------------------------------------------------------------- + +#define _CRT_SECURE_NO_DEPRECATE +#include <boost/property_tree/xml_parser.hpp> +#include <boost/property_tree/info_parser.hpp> +#include <iostream> + +int main() +{ + using namespace boost::property_tree; + ptree pt; + read_xml("simple_all.xml", pt); + write_info(std::cout, pt); +} |