title: vector iteration loop throwing an error?
body: <pre><code>for (std::vector&lt;int&gt;::iterator it = v.begin(); it != v.end(); ++it)
  </code></pre>
  
  <blockquote>
    <p>error: conversion from 'std::vector::const_iterator {aka __gnu_cxx::__normal_iterator >}' to non-scalar type 'std::vector::iterator {aka __gnu_cxx::__normal_iterator >}' requested</p>
  </blockquote>
  
  <p>What's going on?</p>