Search code examples
c++optimizationvisual-c++-2008return-value-optimization

Return value optimization in VC2008


Is there other technique like RVO (return value optimization) or NRVO (named return value optimization) that can be use with VC2008?


Solution

  • Maybe this may help you.

    But typically it's the compiler who does such kind of optimization, not you.