Array in class constructor
<p>For example i have class with constructor that has array of ints as parameter:</p>

<pre><code>A(int* array) : m_array(array) {}
</code></pre>

<p>I can use it like this:</p>

<pre><code>int array[] = { ... }
A a(array);
</code></pre>

<p>Or like this:</p>

<pre><code>int* array = new int[10];
A a(array);
</code></pre>

<p>If object then use it array, it must (or may be not?) delete it in desctructor (if it was dynamic). But how he will know, that memory for this array was allocated dynamically?</p>
