Is it possible to disable RVO (return value optimization) in Visual Studio 2010? Setting optimization flag to /Od
(turns off all optimizations) doesn't help. In g++ there exists flag -fno-elide-constructors
which disables RVO.
Is it possible to disable RVO (return value optimization) in Visual Studio 2010? Setting optimization flag to /Od
(turns off all optimizations) doesn't help. In g++ there exists flag -fno-elide-constructors
which disables RVO.