This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |