On Monday, December 24, 2012 20:03:24 monarch_dodra wrote:Snap. You got me.It wouldn't matter if the function accepted its argument by value. You'd still be returning a reference to a variable that doesn't exist anymore.
So what if it does exist? Say the temporary lives as long as the current scope lives?
