Compiler errors from r-value reference function
function called with temporary object