File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 48104810\item
48114811 a class member access\iref {expr.ref } using the \tcode {.} operator
48124812 where the left operand is one of these expressions and
4813- the right operand designates a non-static data member of non-reference type,
4813+ the right operand designates
4814+ a non-static data member\iref {class.mem.general } of non-reference type or
4815+ a direct base class relationship\iref {class.derived.general },
48144816\item
48154817 a pointer-to-member operation\iref {expr.mptr.oper } using the \tcode {.*} operator
48164818 where the left operand is one of these expressions and
Original file line number Diff line number Diff line change 41734173For a dot that is followed by an expression
41744174that designates a static member or an enumerator,
41754175the first expression is a discarded-value expression\iref {expr.context };
4176- if the expression after the dot designates a non-static data member,
4176+ if the expression after the dot designates a
4177+ non-static data member\iref {class.mem.general } or
4178+ a direct base class relationship\iref {class.derived.general },
41774179the first expression shall be a glvalue.
41784180A postfix expression that is followed by an arrow
41794181shall be a prvalue having pointer type.
You can’t perform that action at this time.
0 commit comments