So I have a question for you. :) Can you tell me the output the following code should produce?
#include struct Optimized { Optimized() { std
Even when passing back by value the compiler can optimise the extra copy away using Return Value Optimisation see; http://en.wikipedia.org/wiki/Return_value_optimization