出典:Wikipedia
出典:『Wikipedia』 (2011/05/24 12:14 UTC 版)
Return value optimization, or simply RVO, is a compiler optimization technique that involves eliminating the temporary object created to hold a function's return value. In C++, it is particularly notable for being allowed to change the observable behaviour of the resulting program.