Top "Lvalue-to-rvalue" questions

Use this tag for lvalue to rvalue conversion questions

Invalid initialization of non-const reference of type

In the following code, I'm not able to pass a temporary object as argument to the printAge function: struct Person { …

c++ pass-by-reference lvalue-to-rvalue
lvalue to rvalue implicit conversion

I see the term "lvalue-to-rvalue conversion" used in many places throughout the C++ standard. This kind of conversion is often …

c++ c++11 implicit-conversion lvalue-to-rvalue
rvalue binding confusion in C++

I have three function calls that I think should be treated (about) the same, but clearly they are not. I'm …

c++ c++11 rvalue-reference rvalue lvalue-to-rvalue