My question is simple: if I have some class Man and I want to define member function that returns man\'s name, which of the following two variants shall I prefer?
Fi
I would go with the first. Return value optimization and C++11 will remove any copying overhead.