title: Dereferencing string iterator yields int
body: <p>I get this error </p>
  
  <pre><code>comparison between pointer and integer ('int' and 'const char *')
  </code></pre>
  
  <p>For the following code </p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;sstream&gt;
  #include &lt;string&gt;
  
  using namespace std;
  
  int main()
  {
      std::string s("test string");
      for(auto i = s.begin(); i != s.end(); ++i)
      {
          cout &lt;&lt; ((*i) != "s") &lt;&lt; endl;
      }
  }
  </code></pre>
  
  <p>Why does dereferencing the string iterator yield an <code>int</code> and not <code>std::string</code>?</p>