Skip to content

Commit d3ac7d4

Browse files
authored
[conv.ptr, conv.mem] Remove redundant text on null pointer comparisons (#6411)
1 parent aa8a531 commit d3ac7d4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

source/expressions.tex

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,8 +1012,7 @@
10121012
object pointer or function pointer
10131013
type.
10141014
Such a conversion is called a \defnx{null pointer conversion}{conversion!null pointer}.
1015-
Two null pointer values of the same type shall compare
1016-
equal. The conversion of a null pointer constant to a pointer to
1015+
The conversion of a null pointer constant to a pointer to
10171016
cv-qualified type is a single conversion, and not the sequence of a
10181017
pointer conversion followed by a qualification
10191018
conversion\iref{conv.qual}. A null pointer constant of integral type
@@ -1052,8 +1051,7 @@
10521051
of that type and is distinguishable from any pointer to member not
10531052
created from a null pointer constant.
10541053
Such a conversion is called a \defnx{null member pointer conversion}{conversion!null member pointer}.
1055-
Two null member pointer values of
1056-
the same type shall compare equal. The conversion of a null pointer
1054+
The conversion of a null pointer
10571055
constant to a pointer to member of cv-qualified type is a single
10581056
conversion, and not the sequence of a pointer-to-member conversion
10591057
followed by a qualification conversion\iref{conv.qual}.

0 commit comments

Comments
 (0)