C++ nerd, WG21, INFJ, electrical engineer, she/her, science connoisseur, jazz addict
@DanielaKEngert
@lysdexic @QuadriLiteral Eh, no. Really. Changing the value category disables RVO
@QuadriLiteral @lysdexic We’ve been looking at a paper just recently in Kona, where the author proposed to not penalize “unfortunate” uses of std::move. I think this is user friendly and you might imagine what I’ve been voting for.
@lysdexic You claimed otherwise:
"
These std::move invocations are harmless, as they only cast objects to their rvalue reference.
"
If you were right, we wouldn’t have the motivation to look at this in EWG.