Is it possible to send a curly braced array of literals as a parameter in a Constructor?
<p>I don't understand why is it possible to do this:</p>

<pre><code>int numbers[] = {-4,3,0,100,2000};
Set d(5,numbers);
</code></pre>

<p>but I get the following error when trying to do this:</p>

<pre><code>Set d(5,{-4,3,0,100,2000});
</code></pre>



<pre><code>Error:
warning: extended initializer lists only available with -std=c++0x
         or -std=gnu++0x|
error: no matching function for call to
         'Set::Set(int, &lt;brace-enclosed initializer list&gt;)'
</code></pre>

<p>Constructor:</p>

<pre><code>Set::Set(int size, const int constSet[])
</code></pre>

<p>Thanks for your help</p>
