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 48194819\item
48204820 a class member access\iref {expr.ref } using the \tcode {.} operator
48214821 where the left operand is one of these expressions and
4822- the right operand designates a non-static data member of non-reference type,
4822+ the right operand designates
4823+ a non-static data member\iref {class.mem.general } of non-reference type or
4824+ a direct base class relationship\iref {class.derived.general },
48234825\item
48244826 a pointer-to-member operation\iref {expr.mptr.oper } using the \tcode {.*} operator
48254827 where the left operand is one of these expressions and
Original file line number Diff line number Diff line change 41724172For a dot that is followed by an expression
41734173that designates a static member or an enumerator,
41744174the first expression is a discarded-value expression\iref {expr.context };
4175- if the expression after the dot designates a non-static data member,
4175+ if the expression after the dot designates a
4176+ non-static data member\iref {class.mem.general } or
4177+ a direct base class relationship\iref {class.derived.general },
41764178the first expression shall be a glvalue.
41774179A postfix expression that is followed by an arrow
41784180shall be a prvalue having pointer type.
You can’t perform that action at this time.
0 commit comments