Skip to content
Commit d18302f1 authored by Douglas Gregor's avatar Douglas Gregor
Browse files

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).

llvm-svn: 124255
parent 3fde51b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment