Should I return an rvalue reference parameter by rvalue reference?
There’s no right answer, but returning by value is safer. I have read several questions on SO relating to returning rvalue references, and have come to the conclusion that this is bad practice. Returning a reference to a parameter foists a contract upon the caller that either The parameter cannot be a temporary (which is … Read more