title: Initializer expression list treated as compound expression vector
body: <p>I cant seem to get this one figured out, i'm trying to call a vector to a function and geting the errors
  initializer expression list treated as compound expression
   cannot convert <code>Vector&lt;int&gt;</code> to <code>int</code> in initialization.</p>
  
  <p>the function:</p>
  
  <pre><code>int print_vector(ostream&amp; os, vector&lt;int&gt; f, vector&lt;int&gt; g, vector&lt;int&gt; h)
  {
      for(int cnt=0; cnt!=10;cnt++){
           os &lt;&lt; f[cnt];
      };
      for(int cnt=0; cnt!=11;cnt++){
          os &lt;&lt; g[cnt];
      };
      for(int cnt=0; cnt!=20;cnt++){
          os &lt;&lt; h[cnt];
      };
  
      return 0;
   }
  </code></pre>
  
  <p>the call</p>
  
  <pre><code>int print_vector(&amp;out,v,vec, vector);
  </code></pre>
  
  <p>the initilization(this happened before the call)</p>
  
  <pre><code>ostream out();
      vector&lt;int&gt; v(10);
  for(int cnt=0;cnt!=10;cnt++){
      v[cnt] = 99+cnt;
  };
  
  vector&lt;int&gt; vec(11);
  for(int cnt=0;cnt!=11;cnt++){
      vec[cnt] = 99+cnt;
  };
  
  vector&lt;int&gt; vector(20);
  for(int cnt=0;cnt!=20;cnt++){
      vector[cnt] = 99+cnt;
  };  
  </code></pre>