Whereas P201 described in the book said * p value, namely x (x) Can be used as a point of the operator of the left operand
I don't think I understand the wrong, write very understand,
Q: point of operator of the left operand is left or right value?
CodePudding user response:
Dot operator left operand can be left values can also be a right valueStruct Foo {
Int foo.
};
Foo bar () {
//...
Return Foo ();
}
Bar (). The foo;//rvalue