The amount of prayer I have put into RVO and moves happening "right"... As someone who isn't a C++ programmer, is there anything better than looking at annotated asm? Templating everything and trying it with something that isn't copyable? (Actually, would that even work with RVO?)
This talk explains the pain quite well: https://www.youtube.com/watch?v=PNRju6_yn3o