DanielaKEngert

joined 2 years ago
[–] DanielaKEngert@hachyderm.io 1 points 11 months ago (1 children)

@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 (3 children)
[–] DanielaKEngert@hachyderm.io 1 points 11 months ago (5 children)

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

[–] DanielaKEngert@hachyderm.io 3 points 11 months ago (1 children)

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