iterating though an inifile section using boost.property_tree

Hi Fokes:
Ok, I've got a standard windows-stle ini file.
I can check that a section exists, and then get that section, using it->second, where it is declared as:
boost::property_tree::ptree::const_assoc_iterator it;
I've then assigned the it->second variable to a new property_tree. What I now need to do is iterate though the tree I've just assigned and get all the section keys/values.
I'm using the following code to add them all to a map:
std::map
participants (1)
-
Sean Farrow