2 <clause number="25.5.7" title="Pointer comparison">
3 <paragraph>In an unsafe context, the ==, !=, <, >, <=, and => operators (<hyperlink>14.9</hyperlink>) can be applied to values of all pointer types. The pointer comparison operators are: <code_example><![CDATA[
4 bool operator ==(void* x, void* y);
5 bool operator !=(void* x, void* y);
6 bool operator <(void* x, void* y);
7 bool operator >(void* x, void* y);
8 bool operator <=(void* x, void* y);
9 bool operator >=(void* x, void* y);
10 ]]></code_example></paragraph>
11 <paragraph>Because an implicit conversion exists from any pointer type to the void* type, operands of any pointer type can be compared using these operators. The comparison operators compare the addresses given by the two operands as if they were unsigned integers. </paragraph>