temporary object creation in copy constructor
<p>I am reading about copy constructor in C++</p>

<p>It was mentioned that an object is passed usuing call by value and return by values constructs a temporary objects that are never seen by the user. My understanding is that when we call by val for example</p>

<pre><code>myclass b;

void myfunc(myclass c) {}  //c(b) copy constructor is called.
</code></pre>

<p>Where temporary object is created?</p>

<p>Thanks!</p>
