Passing a constructor to array of pointers
<p>I have always been using vectors for storing objects when a list type container is required.
I wanted to know how you can pass constructors to array pointers.The following works in     C++03 if the object foo did not have a constructor</p>

<pre><code>foo* p = new foo[5]()
</code></pre>

<p>Now what if the constructor of <code>foo</code> required an <code>int</code> how would I pass the constructor in the above statement?</p>
