On 7/11/2011 12:16 PM, dsimcha wrote:
Couldn't you just make the calling convention for auto ref functions be to always pass a T* and create a hidden temporary at the call site if passing an rvalue?
That can produce a lot of hidden overhead, pretty much wrecking the advantages of pass by value.