commit | aab015a9294d47daf2234f316ac1f765af141d02 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Jan 26 00:12:48 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Jan 26 00:12:48 2011 +0000 |
tree | 7f7652074f3e72ad9f6f4208d4f928eeda194096 | |
parent | 9f193f202ffd8427cdde1ced9ece3974f802b00e [diff] |
Teach move_iterator that rvalue references cannot bind to non-function lvalues, nor can one take the address of an xvalue, by adding appropriate static_cast's (in the first case) and a temporary (in the second case). git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@124255 91177308-0d34-0410-b5e6-96231b3b80d8