summaryrefslogtreecommitdiff
path: root/libs/property_tree/test/sandbox.cpp
blob: 9eb5908dec11b2781645f6e870ab30d5d1772fb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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);
}