|
5883 | 5883 |
|
5884 | 5884 | \pnum
|
5885 | 5885 | The binary operator \tcode{.*} binds its second operand, which shall be
|
5886 |
| -of type ``pointer to member of \tcode{T}'' to its first operand, which shall be |
| 5886 | +of type ``pointer to member of class \tcode{T} of type \tcode{X}'' to its first operand, which shall be |
5887 | 5887 | a glvalue
|
5888 | 5888 | of
|
5889 | 5889 | class \tcode{T} or of a class of which \tcode{T} is an unambiguous and
|
5890 |
| -accessible base class. The result is an object or a function of the type |
5891 |
| -specified by the second operand. |
| 5890 | +accessible base class. The result is an object or function of type \tcode{X}. |
5892 | 5891 |
|
5893 | 5892 | \pnum
|
5894 | 5893 | The binary operator \tcode{->*} binds its second operand, which shall be
|
5895 |
| -of type ``pointer to member of \tcode{T}'' to its first operand, which shall be of |
| 5894 | +of type ``pointer to member of class \tcode{T}'' to its first operand, which shall be of |
5896 | 5895 | type ``pointer to \tcode{U}''
|
5897 | 5896 | where \tcode{U} is either \tcode{T} or
|
5898 | 5897 | a class of which \tcode{T}
|
|
5912 | 5911 | The restrictions on cv-qualification, and the manner in which
|
5913 | 5912 | the cv-qualifiers of the operands are combined to produce the
|
5914 | 5913 | cv-qualifiers of the result, are the same as the rules for
|
5915 |
| -\tcode{E1.E2} given in~\ref{expr.ref}. |
| 5914 | +\tcode{E1.EM} given in~\ref{expr.ref}, |
| 5915 | +where \tcode{EM} is an \grammarterm{identifier} |
| 5916 | +naming a hypothetical non-static non-mutable member of class \tcode{T} |
| 5917 | +declared with type \tcode{X}. |
5916 | 5918 | \begin{note}
|
5917 | 5919 | It is not possible to use a pointer to member that refers to a
|
5918 | 5920 | \keyword{mutable} member to modify a const class object. For
|
|
0 commit comments