Hello,
The boost.foreach makro does not work with xpath_node_set.
For instance,
BOOST_FOREACH(pugi::xpath_node node, parent.select_nodes(xpath)
does not compile with pugixml version 1.4 and boost 1.48 on Ubuntu 12.04.
I could resolve this issue locally by adding a non-const iterator to pugixml.hpp
typedef const xpath_node* iterator;
I don't think that this is too intrusive as xpath_node has no non-const
methods. Is it possible to add this to the interface?
Best
Stefan
Original issue reported on code.google.com by stefan.f...@googlemail.com on 24 Mar 2014 at 10:04
Original issue reported on code.google.com by
stefan.f...@googlemail.com
on 24 Mar 2014 at 10:04