Fixing errors from xutility?
<p>I'm changing a vector to a list. Ive fixed all the errors except these kind:</p>

<pre><code>Error   16  error C2784: 'bool std::operator &lt;(const std::stack&lt;_Ty,_Container&gt; &amp;,const std::stack&lt;_Ty,_Container&gt; &amp;)' : could not deduce template argument for 'const std::stack&lt;_Ty,_Container&gt; &amp;' from 'std::list&lt;_Ty&gt;::_Iterator&lt;_Secure_validation&gt;'   c:\Program Files\Microsoft Visual Studio 9.0\VC\include\xutility    2010
Error   17  error C2784: 'bool std::operator &lt;(const std::stack&lt;_Ty,_Container&gt; &amp;,const std::stack&lt;_Ty,_Container&gt; &amp;)' : could not deduce template argument for 'const std::stack&lt;_Ty,_Container&gt; &amp;' from 'std::list&lt;_Ty&gt;::_Iterator&lt;_Secure_validation&gt;'   c:\Program Files\Microsoft Visual Studio 9.0\VC\include\xutility    2010
Error   18  error C2784: 'bool std::operator &lt;(const std::stack&lt;_Ty,_Container&gt; &amp;,const std::stack&lt;_Ty,_Container&gt; &amp;)' : could not deduce template argument for 'const std::stack&lt;_Ty,_Container&gt; &amp;' from 'std::list&lt;_Ty&gt;::_Iterator&lt;_Secure_validation&gt;'   c:\Program Files\Microsoft Visual Studio 9.0\VC\include\xutility    2010
Error   19  error C2784: 'bool std::operator &lt;(const std::stack&lt;_Ty,_Container&gt; &amp;,const std::stack&lt;_Ty,_Container&gt; &amp;)' : could not deduce template argument for 'const std::stack&lt;_Ty,_Container&gt; &amp;' from 'std::list&lt;_Ty&gt;::_Iterator&lt;_Secure_validation&gt;'   c:\Program Files\Microsoft Visual Studio 9.0\VC\include\xutility    2010
</code></pre>

<p>How can one fix these sorts or errors if no line number indicates which file and method is causing the error? I have no idea where the problem could be.</p>

<p>Is there a way to find out which statement triggers these?</p>

<p>Thanks</p>
