Can we create temporary pass-in `std::vector<int>` parameter?
<pre><code>void PrintNow(const std::vector&lt;int&gt; &amp;v)
{
    std::cout &lt;&lt; v[0] &lt;&lt; std::endl;
}

std::vector&lt;int&gt;().push_back(20); // this line generates no complains
PrintNow(std::vector&lt;int&gt;().push_back(20)); // error
</code></pre>

<p>From VS2010 Sp1:</p>

<blockquote>
  <p>eror C2664: 'PrintNow' : cannot convert parameter 1 from 'void' to
  'const std::vector&lt;_Ty> &amp;'</p>
</blockquote>

<p>Q> Is it possible that we can pass a temporary vector to function?</p>
