News for hackers. Stuff that matters.
Re:Catching use-after-move C++ bugs with Clang's consumed an... by ska on Wednesday July 10, 2019 @01:01PM (#20403874)
You can structure your code so that you don't need it - sure. But that doesn't mean that there aren't use cases where this makes managing lifetimes much clearer.

RVO can often sort out your object return problem just fine. But lifetimes are more subtle. Sometime move semantics can significantly clean up your overall design.

There are no comments on this comment yet.