The documentation doesn't really say.
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.
But when doing boost::property_tree::ini_parser::read_ini(ifstream_object,property_tree_object);
How do I detect if the file was in a bad format? Is there any way for me to get diagnostic information, such as where the parse failed?