+ std::wstring debug_ptree(const boost::property_tree::wptree& tree)
+ {
+ std::wstringstream str;
+ boost::property_tree::xml_writer_settings<std::wstring> w(' ', 3);
+ boost::property_tree::write_xml(str, tree, w);
+ str.flush();
+ return str.str();
+ }
+