I am trying to iterate over a boost property tree. The docs state that
You can get an ordered view of all children by using ordered_begin() and ordered_end().
However, when I write
for ( boost::property_tree::ptree::const_assoc_iterator it =
myPropTree.ordered_begin();
it != myPropTree.ordered_end();
it++ )
The compiler complains
error: 'boost::property_tree::ptree' has no member named 'ordered_end'
boost v1.55 mingw code::blocks