Can I create a for loop containing multiple type declarations?
<p>For example:</p>

<p>Is there anything I can do, that might allow me to do this:</p>

<pre><code>for(TiXmlElement * pChild = elem-&gt;First(), int i=0; // note multiple type declarations
    pChild; 
    pChild=pChild-&gt;NextSiblingElement(), i++) // note multiple types
{
    //do stuff
}
</code></pre>

<p>Perhaps there is a <code>boost</code> header?</p>
