What I know is:
-
An L-Value is an expression (could be a single variable expression i.e x) which has some address (meaning it's stored in memory and can be referred to, beyond the scope of current expression).
- "this pointer" points to the object itself, which means it holds the address of the object which in turn means it's an L-Value (by definition in point 1).
-
Is "this pointer" really an L-Value ? Because in a post " Type of 'this' pointer " people are saying that "this pointer" is not an L-Value
- If "this pointer" is not an L-Value then is it an R-Value or something else ?