[-] DanielaKEngert@hachyderm.io 1 points 11 months ago

@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.

[-] DanielaKEngert@hachyderm.io 1 points 11 months ago

@lysdexic @QuadriLiteral Eh, no. Really. Changing the value category disables RVO

[-] DanielaKEngert@hachyderm.io 3 points 11 months ago

@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.

DanielaKEngert

joined 2 years ago