A named variable is NEVER an rvalue. It is invariably an lvalue. Rvalues are only pure expressions which don't have names.
int && i = int(0);
Here the expression int(0)
is an rvalue, but the variable i
itself is an lvalue, declared to be binding to an rvalue.