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,
Oleg.

equality.html (7.6 KB)

clang1.patch (18.6 KB)

Hi all, this proposal is live on the ISO site:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3950.html

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...

Thanks!
Oleg.

clang1.patch (18.6 KB)