title: How to iterate over a const vector<glm::vec3>
body: <p>I have this vector of glm::vec3 elements</p>
  
  <pre><code>std::vector&lt;glm::vec3&gt; const&amp; vertices
  </code></pre>
  
  <p>and i want to iterate over them. I tried it like this..</p>
  
  <pre><code>for(std::vector&lt;glm::vec3&gt;::iterator it = vertices.begin(); it != vertices.end(); ++it) {
          ...  
  }
  </code></pre>
  
  <p>.. but the compiler is telling me </p>
  
  <pre><code>no viable conversion from '__wrap_iter&lt;const_pointer&gt;' to '__wrap_iter&lt;pointer&gt;'
  </code></pre>
  
  <p>Can anyone help me how to iterate properly over this vector. Thank You :)</p>