title: Why is foreach iterating with a const reference?
body: <p>I try to do the following:</p>
  
  <pre><code>QList&lt;QString&gt; a;
  foreach(QString&amp; s, a)
  {
      s += "s";
  }
  </code></pre>
  
  <p>Which looks like it should be legitimate but I end up with an error complaining that it <code>cannot convert from 'const QString' to 'QString &amp;'</code>.</p>
  
  <p>Why is the Qt foreach iterating with a const reference?</p>