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

Created on 2023-02-09.00:00:00 last changed 1 month ago

Messages

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-02-09 00:00:00admincreate