RFC: Defaulted comparison operators

Hi all, I've started working on an ISO C++ proposal (attached) and would like to ask for feedback on the prototype implementation (attached).

The point here is to extend the notion of "special member functions" to include operator==() and its boolean inverse. The patch is minimal and has a few "FIXME:" tags due to the lack of Clang knowledge...

Could you folks review and comment please?

Thanks in advance,

equality.html (7.6 KB)

clang1.patch (18.6 KB)

Hi all, this proposal is live on the ISO site:

Could I get comments on the first half of the patch please? It is functional, but I barely understand Clang's internals and there are a few ToDo statements there...


clang1.patch (18.6 KB)