Initialization of a pointer
<p>I am currently confused with the following statement - I though this statement would yield an error during compile time however it doesn't. </p>

<pre><code>// statement 1:
someclass* q(someclass());
</code></pre>

<p>I understand if the statement was like this</p>

<pre><code>// statement 2:
someclass* q(&amp;someclass());
</code></pre>

<p>I would like to know why statment 1 doesnt generate an error or even if that is valid (is there anything I am missing behind the scenes ?)</p>
