+ 1
What does lvalue mean in c++
2 Respostas
+ 2
Something like "whatever can go left of the equals sign", so, things you can assign to.
In `a = 4`, `a` is an lvalue.
As always in C++ its not that simple but it's a good approximation.
"rvalue" would be the things that can't go left of an equals sign. `4 = 5` would error, because `4` is not an lvalue.