This makes no sense? Please help

In my book Book, Ivor Horton's Beginning Visual C++ 2012 it says that the following is a lvalue reference?


const int& refData = 5;

Isnt it a rvalue reference?

Im very confused because isnt 5 a rvalue because it cannot be on the left side of the = sign because it does not have a memory location defined, plus it is the result of a expression?

Can anyone shed some light on this?

Please and thankyou :D
Topic archived. No new replies allowed.