title: Checking if an iterator references an item in a list
body: <p>i just want to check, if the iterator points on an object in a list.</p>
  
  <p>What's the cmd?</p>
  
  <p>Thank you. :)</p>
  
  <p>SkyThe</p>
  
  <p>EDIT:</p>
  
  <p>Hmm,.. ok i tried it.
  Now there is a Error: "Expression: list iterators incompitable"</p>
  
  <p>Maybe some code:</p>
  
  <pre><code>#include &lt;list&gt;
  list&lt;obj&gt; list;
  list&lt;obj&gt;::iterator it;
  
  if(it != list.end()){ //here the error pops up when i debug
    vShowStatus();
  }else{
    cout &lt;&lt; "...";
  }
  </code></pre>