News for hackers. Stuff that matters.
Re:C++: Return value optimization vs. std::move by jayrhynas on Monday July 20, 2015 @12:59PM (#9917325)
I'm not sure if he updated the article since you read it, but he does have a note about that:

> Note: We should not use this way in the real development, because it is a reference to a local object. Here just show how to make RVO happened.

There are no comments on this comment yet.