title: How to detect parse/read failure of Boost.PropertyTree?
body: <p>The documentation doesn't really say.</p>
  
  <p>I get that I can hand it an ifstream, so I could check to make sure it's open, so that case is mostly dealt with.</p>
  
  <p>But when doing boost::property_tree::ini_parser::read_ini(ifstream_object,property_tree_object);</p>
  
  <p>How do I detect if the file was in a bad format?  Is there any way for me to get diagnostic information, such as <em>where</em> the parse failed?</p>