Ticket #6785: read_json_gcc47_cpp11.cpp

File read_json_gcc47_cpp11.cpp, 284 bytes (added by Wojciech Cierpucha <cierpuchaw@…>, 11 years ago)

Simple test case that does not compile.

Line 
1#include <iostream>
2#include <sstream>
3
4#include <boost/property_tree/ptree.hpp>
5#include <boost/property_tree/json_parser.hpp>
6
7using namespace std;
8using namespace boost::property_tree;
9
10int main()
11{
12 std::istringstream istr("");
13 ptree pt;
14
15 read_json(istr, pt);
16
17 return 0;
18}