title: How to use const auto with STLport library
body: <p>I've tried to compile elementary example:</p>
  
  <pre><code>#include &lt;vector&gt;
  int main ()
  {
      std::vector&lt;int&gt; testV;
      for (const auto&amp; test : testV) 
      {   }
      return 0;
  }
  </code></pre>
  
  <p>And I've received error:<br>
      <code>test.cpp: In function 'int main()':</code><br>
  <code>test.cpp:5:29: error: 'begin' was not declared in this scope</code><br>
  <code>test.cpp:5:29: error: 'end' was not declared in this scope</code><br>
  <code>test.cpp:5:29: error: unable to deduce 'const auto&amp;' from '&lt;expression error&gt;'</code>    </p>
  
  <p>Does STLport support <code>const auto</code> ?</p>
  
  <p><strong>EDIT: I'm using <code>GCC 4.6</code></strong><br>
  With 4.7 and more everything is ok.  </p>