On Fri, 20 May 2011 17:30:33 +0300, Sean Kelly <[email protected]> wrote:

In main above you're declaring a new struct variable t which is default-constructed, then a temporary is created and initialized to 5, and then the temporary is copied onto t. It does seem like a postblit should probably occur in this scenario though.

I am confused.
There shouldn't be any copying, it is construction.

Reply via email to