For instance:
Is there anything I can do that can allow me to do this:
for(TiXmlElement * pChild = elem->First(), int i=0; // note multiple type declarations pChild; pChild=pChild->NextSiblingElement(), i++) // note multiple types { //do stuff }
Perhaps there is a boost header?
source share