Vector of pairs - left hand side of operand of comma has no effect
<p>I declared a vector a pairs with: </p>

<pre><code>vector &lt;pair &lt;int, int&gt; &gt; args;
</code></pre>

<p>Then I want to push a pair into the vector like this: </p>

<pre><code>args.push_back((1,-1));
</code></pre>

<p>It tells me that the left-hand operand of comma has no effect.
Where do I go wrong?</p>
