maximum no of integer items that can be created by an int vector
<p>I have an integer vector</p>

<pre><code>std::vector&lt;int&gt; somevec
</code></pre>

<p>The limits of int can be queried via </p>

<pre><code>std::numeric_limits&lt;int&gt;::min() and std::numeric_limits&lt;int&gt;::max()
</code></pre>

<p>Can I create a vector whose size exceeds std::numeric_limits::max() i.e.</p>

<pre><code>can somevec.size() &gt; std::numeric_limits&lt;int&gt;::max()
</code></pre>
