Hello everyone,
Just want to confirm and ask for advice here for experts, since I met with some confusions about recent reading.
Here is my understanding,
1. const reference is lvalue;
2. non-const reference is lvalue;
3. Return of constructor is rvalue.
All correct?
thanks in advance,
George
Just want to confirm and ask for advice here for experts, since I met with some confusions about recent reading.
Here is my understanding,
1. const reference is lvalue;
2. non-const reference is lvalue;
3. Return of constructor is rvalue.
All correct?
thanks in advance,
George