The keys of the children of the root node are the section names. Iterating over the children is the only way to retrieve them.Hi All:
I have parsed a .ini file in to a boost::property_tree. I now would like to retrieve all the section names and place them in a vector.
Am I needing the key_type or the value_type. I am suspecting the former! Also is there a quick way of outputting the section names without having to use a boost_foreach or similar loop construct?