title: No match for operator << in std::cout
body: <p>I'm trying to print every element inside a vector like this:</p>
  
  <pre><code>vector&lt;users&gt;::iterator i;
  
  for(i = userlist.begin(); i&lt;userlist.end(); i++)
  {
          cout &lt;&lt; *i &lt;&lt; "\n";
  }
  </code></pre>
  
  <p>Then I'm getting an error like this:</p>
  
  <pre><code>no match for 'operator&lt;&lt;' in 'std::cout &lt;&lt; (&amp;i)-&gt;__gnu_cxx::__normal_iterator&lt;_Iterator, _Container&gt;::operator* [with _Iterator = users*, _Container = std::vector&lt;users, std::allocator&lt;users&gt; &gt;]()' 
  </code></pre>
  
  <p>Is it anything obvious I've missed?</p>