initizlize an array from a vector
<p>It is possible to initialise a vector from an array holding elements with the same type as vector, such as </p>

<pre><code>double a[] ={ somevalues };
std::vector&lt;double&gt; vec(a, a+dimension)
</code></pre>

<p>I was wondering whether the other way around is possible or not without an explicit loop? Is that possible to initialise an array from a vector with a short cut like the one above, I guess not but let me ask ...</p>
