[libc++] Add equality for spaceship types for themselves
authorChristopher Di Bella <cjdb@google.com>
Thu, 18 Jun 2020 14:17:57 +0000 (10:17 -0400)
committerLouis Dionne <ldionne@apple.com>
Thu, 18 Jun 2020 14:22:50 +0000 (10:22 -0400)
commitec789a41e296de552623b0e1836c70329ba85247
tree0a30c994f93df738cb80077c9b325c77c0e6a7e7
parent8fbd6d99a0931090fbee473ed9c5e0db8efe8bab
[libc++] Add equality for spaceship types for themselves

- Adds operator==(partial_ordering, partial_ordering)
- Adds operator==(weak_ordering, weak_ordering)
- Adds operator==(strong_ordering, strong_ordering)

Differential Revision: https://reviews.llvm.org/D81823
libcxx/include/compare
libcxx/test/std/language.support/cmp/cmp.partialord/partialord.pass.cpp
libcxx/test/std/language.support/cmp/cmp.strongord/strongord.pass.cpp
libcxx/test/std/language.support/cmp/cmp.weakord/weakord.pass.cpp
libcxx/www/cxx2a_status.html