Skip to content

Commit 4cba24d

Browse files
burblebeetkoeppe
authored andcommitted
CWG2796 Function pointer conversions for relational operators
1 parent 15f7b23 commit 4cba24d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/expressions.tex

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6553,8 +6553,10 @@
65536553

65546554
\pnum
65556555
The usual arithmetic conversions\iref{expr.arith.conv} are performed on operands of arithmetic
6556-
or enumeration type. If both operands are pointers, pointer
6557-
conversions\iref{conv.ptr} and qualification conversions\iref{conv.qual}
6556+
or enumeration type. If both operands are pointers,
6557+
pointer conversions\iref{conv.ptr},
6558+
function pointer conversions\iref{conv.fctptr}, and
6559+
qualification conversions\iref{conv.qual}
65586560
are performed to bring
65596561
them to their composite pointer type\iref{expr.type}.
65606562
After conversions, the operands shall have the same type.

0 commit comments

Comments
 (0)