Original Post
Assume class B.
B DoWork()
{
B b;
return b;
}
B b;
b = DoWork();
I ran it myself and it seemed it was copied out of the return and then operator= to assign it to b. Is this correct?