title: are iterators static pointers?
body: <p>One simple use of an iterator, is like this: </p>
  
  <pre><code>vector&lt;int&gt; v;
  vector&lt;int&gt;::iterator iter;
  
  v.push_back(1);
  v.push_back(2);
  v.push_back(3);
  
  for (iter = v.begin(); iter != v.end(); iter++)
    cout &lt;&lt; (*iter) &lt;&lt; endl;
  </code></pre>
  
  <p>I have two questions:</p>
  
  <p>1) Every time we see a declaration like <code>class-name::member-name</code> it's a static member of that class.<br>
  So, since iterators are declared as <code>container&lt;type&gt;::iterator</code>, can we consider they are static members of the container ? <br></p>
  
  <p>2) Since iterators are dereferenced with the same sintax of pointers <code>cout &lt;&lt; (*iter) &lt;&lt; endl;</code>, can we consider that they are pointers too ?</p>
  
  <p>Thank you</p>