rvalue references in libstdc++

Peter Dimov pdimov@mmltd.net
Mon Apr 30 21:18:00 GMT 2007

Howard Hinnant wrote:

> When faced with this same challenge in the CodeWarrior library I had
> good luck with the technique outlined here:
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1771.html#old_move

I was going to suggest the same thing... but why the second overload of 
move? There is no use case where the argument is an rvalue, right? 

More information about the Libstdc++ mailing list