...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::property_tree::ini_parser::read_ini
// In header: <boost/property_tree/ini_parser.hpp> template<typename Ptree> void read_ini(std::basic_istream< typename Ptree::key_type::value_type > & stream, Ptree & pt);
Read INI from a the given stream and translate it to a property tree.
Note | |
---|---|
Clears existing contents of property tree. In case of error the property tree is not modified. |
Parameters: |
|
||||
Throws: |
ini_parser_error If a format violation is found. |