title: C++ reverse_iterator error
body: <p>I am trying to use a reverse_iterator for my vector and apparently this line of code is causing 3 errors.</p>
  
  <pre><code>#include &lt;iostream&gt;    
  #include &lt;vector&gt;
  using namespace std;
  vector&lt;string&gt; list={};
  vector&lt;string&gt; reverse_iterator rit = list.rbegin();
  </code></pre>
  
  <p>Errors:</p>
  
  <ol>
  <li>Expected a ';'</li>
  <li>Error   C2146   syntax error: missing ';' before identifier 'rit'</li>
  <li>Error   C2065   'rit': undeclared identifier</li>
  </ol>
  
  <p>I am using Visual Studio 2015 Console Application.</p>