|
304 | 304 | The \defn{composite pointer type} of
|
305 | 305 | two operands \tcode{p1} and
|
306 | 306 | \tcode{p2} having types \tcode{T1} and \tcode{T2}, respectively, where at least one is a
|
307 |
| -pointer or pointer to member type or |
| 307 | +pointer or pointer-to-member type or |
308 | 308 | \tcode{std::nullptr_t}, is:
|
309 | 309 |
|
310 | 310 | \begin{itemize}
|
|
2279 | 2279 | An argument that has type \cv{}~\tcode{std::nullptr_t} is converted
|
2280 | 2280 | to type \tcode{void*}\iref{conv.ptr}.
|
2281 | 2281 | After these conversions, if the
|
2282 |
| -argument does not have arithmetic, enumeration, pointer, pointer to |
2283 |
| -member, or class type, the program is ill-formed. Passing a potentially-evaluated |
| 2282 | +argument does not have arithmetic, enumeration, pointer, pointer-to-member, |
| 2283 | +or class type, the program is ill-formed. Passing a potentially-evaluated |
2284 | 2284 | argument of class type\iref{class} having a non-trivial
|
2285 | 2285 | copy constructor, a non-trivial move constructor,
|
2286 | 2286 | or a
|
|
2951 | 2951 | class\iref{class.derived} of \tcode{D},
|
2952 | 2952 | if \cvqual{cv2} is the same cv-qualification
|
2953 | 2953 | as, or greater cv-qualification than, \cvqual{cv1}.\footnote{Function types
|
2954 |
| -(including those used in pointer to member function |
| 2954 | +(including those used in pointer-to-member-function |
2955 | 2955 | types) are never cv-qualified; see~\ref{dcl.fct}.}
|
2956 | 2956 | If no valid standard conversion
|
2957 | 2957 | from ``pointer to member of \tcode{B} of type \tcode{T}''
|
|
3122 | 3122 |
|
3123 | 3123 | \begin{itemize}
|
3124 | 3124 | \item converting a prvalue of type ``pointer to member function'' to a
|
3125 |
| -different pointer to member function type and back to its original type |
3126 |
| -yields the original pointer to member value. |
| 3125 | +different pointer-to-member-function type and back to its original type |
| 3126 | +yields the original pointer-to-member value. |
3127 | 3127 |
|
3128 | 3128 | \item converting a prvalue of type ``pointer to data member of \tcode{X}
|
3129 | 3129 | of type \tcode{T1}'' to the type ``pointer to data member of \tcode{Y}
|
3130 | 3130 | of type \tcode{T2}'' (where the alignment requirements of \tcode{T2} are
|
3131 | 3131 | no stricter than those of \tcode{T1}) and back to its original type
|
3132 |
| -yields the original pointer to member value. |
| 3132 | +yields the original pointer-to-member value. |
3133 | 3133 | \end{itemize}
|
3134 | 3134 |
|
3135 | 3135 | \pnum
|
|
3335 | 3335 |
|
3336 | 3336 | \pnum
|
3337 | 3337 | \indextext{name!address of cv-qualified}%
|
3338 |
| -\indextext{expression!pointer to member constant}% |
| 3338 | +\indextext{expression!pointer-to-member constant}% |
3339 | 3339 | The result of the unary \tcode{\&} operator is a pointer to its operand.
|
3340 | 3340 | The operand shall be an lvalue or a \grammarterm{qualified-id}.
|
3341 | 3341 | If the operand is a \grammarterm{qualified-id} naming a non-static or variant member \tcode{m}
|
|
4877 | 4877 | \pnum
|
4878 | 4878 | The \tcode{==} (equal to) and the \tcode{!=} (not equal to) operators
|
4879 | 4879 | group left-to-right. The operands shall have arithmetic, enumeration, pointer,
|
4880 |
| -or pointer to member type, or type \tcode{std::nullptr_t}. The operators |
| 4880 | +or pointer-to-member type, or type \tcode{std::nullptr_t}. The operators |
4881 | 4881 | \tcode{==} and \tcode{!=} both yield \tcode{true} or \tcode{false}, i.e., a
|
4882 | 4882 | result of type \tcode{bool}. In each case below, the operands shall have the
|
4883 | 4883 | same type after the specified conversions have been applied.
|
|
4909 | 4909 | \end{itemize}
|
4910 | 4910 |
|
4911 | 4911 | \pnum
|
4912 |
| -If at least one of the operands is a pointer to member, pointer to member |
| 4912 | +If at least one of the operands is a pointer to member, pointer-to-member |
4913 | 4913 | conversions\iref{conv.mem} and qualification
|
4914 | 4914 | conversions\iref{conv.qual} are performed on both operands to bring them to
|
4915 | 4915 | their composite pointer type\iref{expr.prop}.
|
|
5250 | 5250 | composite pointer type\iref{expr.prop}. The result is of the composite
|
5251 | 5251 | pointer type.
|
5252 | 5252 |
|
5253 |
| -\item One or both of the second and third operands have pointer to member type; |
| 5253 | +\item One or both of the second and third operands have pointer-to-member type; |
5254 | 5254 | pointer to member conversions\iref{conv.mem} and qualification
|
5255 | 5255 | conversions\iref{conv.qual} are performed to bring them to their composite
|
5256 | 5256 | pointer type\iref{expr.prop}. The result is of the composite pointer type.
|
|
0 commit comments