3 ms·
No, I'm pretty sure RVO is a feature of the calling convention, so it works across TUs (object files).
by jey 16y ago
No, I'm pretty sure RVO is a feature of the calling convention, so it works across TUs (object files).
- tbrownaw 16y ago..wha? OK, re-reading this it looks like maybe he is talking strictly about return-value optimization. For some odd reason I thought he was claiming significantly more than that (such as not making copies of your pass-by-value parameters).