Title
Relational comparisons of pointers to void
Status
dup
Section
7.6.9 [expr.rel]
Submitter
CWG

Created on 2023-02-09.00:00:00 last changed 18 months ago

Messages

Date: 2023-06-15.00:00:00

Rationale (June, 2023)

This issue is a duplicate of issue 2749.

Date: 2023-02-10.20:21:47

While discussing issue 2526, it was noted that C++ yields an unspecified result for comparing unequal pointers to void in all cases, whereas C does specify the result if the pointer values point to the same object or (possibly different) subobjects thereof, because C considers void an object type.

February, 2023

Requested confirmation of the C status quo from SG22.

History
Date User Action Args
2023-06-22 21:42:10adminsetmessages: + msg7340
2023-06-22 21:42:10adminsetstatus: open -> dup
2023-02-09 00:00:00admincreate