Daniel Bertalan
4296425bd8
Everywhere: Remove redundant inequality comparison operators
...
C++20 can automatically synthesize `operator!=` from `operator==`, so
there is no point in writing such functions by hand if all they do is
call through to `operator==`.
This fixes a compile error with compilers that implement P2468 (Clang
16 currently). This paper restores the C++17 behavior that if both
`T::operator==(U)` and `T::operator!=(U)` exist, `U == T` won't be
rewritten in reverse to call `T::operator==(U)`. Removing `!=` operators
makes the rewriting possible again.
See https://reviews.llvm.org/D134529#3853062
2022-11-06 10:25:08 -07:00
..
2022-10-01 21:05:32 +01:00
2022-10-01 21:05:32 +01:00
2022-10-26 18:49:41 +01:00
2022-10-26 18:49:41 +01:00
2022-10-01 21:05:32 +01:00
2022-09-21 21:12:24 +01:00
2022-09-06 00:27:09 +02:00
2022-10-01 21:05:32 +01:00
2022-09-21 21:12:24 +01:00
2022-09-18 02:08:01 +02:00
2022-10-01 21:05:32 +01:00
2022-09-21 21:12:24 +01:00
2022-10-31 14:12:44 +00:00
2022-10-01 21:05:32 +01:00
2022-10-09 10:14:57 +02:00
2022-09-25 19:13:31 +01:00
2022-07-30 13:20:47 +02:00
2022-10-01 21:05:32 +01:00
2022-10-01 21:05:32 +01:00
2022-10-09 10:14:57 +02:00
2022-10-01 21:05:32 +01:00
2022-10-01 21:05:32 +01:00
2022-09-06 00:27:09 +02:00
2022-11-05 00:30:10 +01:00
2022-11-05 00:30:10 +01:00
2022-10-09 10:14:57 +02:00
2022-10-01 21:05:32 +01:00
2022-10-01 21:05:32 +01:00
2022-10-09 10:14:57 +02:00
2022-09-06 00:27:09 +02:00
2022-09-06 00:27:09 +02:00
2022-10-01 21:05:32 +01:00
2022-09-21 21:12:24 +01:00
2022-10-09 10:14:57 +02:00
2022-09-06 00:27:09 +02:00
2022-09-06 00:27:09 +02:00
2022-10-31 14:12:44 +00:00
2022-09-25 19:13:31 +01:00
2022-10-09 10:14:57 +02:00
2022-10-31 14:12:44 +00:00
2022-09-25 19:13:31 +01:00
2022-10-09 10:14:57 +02:00
2022-11-03 14:48:04 +00:00
2022-11-03 14:48:04 +00:00
2022-10-09 10:14:57 +02:00
2022-09-06 00:27:09 +02:00
2022-09-06 00:27:09 +02:00
2022-10-01 21:05:32 +01:00
2022-10-01 21:05:32 +01:00
2022-10-09 10:14:57 +02:00
2022-10-15 01:25:12 +02:00
2022-09-06 00:27:09 +02:00
2022-10-26 18:49:41 +01:00
2022-10-24 18:06:55 +02:00
2022-10-09 10:14:57 +02:00
2022-10-01 21:05:32 +01:00
2022-09-21 21:12:24 +01:00
2022-10-01 21:05:32 +01:00
2022-09-24 19:31:39 +01:00
2022-07-30 13:20:47 +02:00
2022-10-01 21:05:32 +01:00
2022-10-01 21:05:32 +01:00
2022-10-29 15:48:46 +01:00
2022-10-01 21:05:32 +01:00
2022-10-01 21:05:32 +01:00
2022-10-01 21:05:32 +01:00
2022-10-01 21:05:32 +01:00
2022-09-25 19:13:31 +01:00
2022-09-18 02:08:01 +02:00
2022-11-06 12:13:32 +00:00
2022-11-05 18:54:39 +01:00
2022-10-09 10:14:57 +02:00
2022-10-01 21:05:32 +01:00
2022-09-24 19:31:39 +01:00
2022-10-28 16:17:08 +01:00
2022-10-20 19:46:39 +02:00
2022-10-20 19:46:39 +02:00
2022-09-06 00:27:09 +02:00
2022-10-01 21:05:32 +01:00
2022-10-01 21:05:32 +01:00
2022-09-25 19:13:31 +01:00
2022-09-25 19:13:31 +01:00
2022-09-13 20:55:21 +02:00
2022-10-01 21:05:32 +01:00
2022-09-25 19:13:31 +01:00
2022-07-30 13:20:47 +02:00
2022-09-06 00:27:09 +02:00
2022-11-06 10:25:08 -07:00
2022-09-21 21:12:24 +01:00
2022-10-09 10:14:57 +02:00
2022-10-31 14:12:44 +00:00
2022-10-11 21:49:48 +02:00
2022-09-06 00:27:09 +02:00
2022-11-03 14:48:04 +00:00
2022-11-03 14:48:04 +00:00
2022-10-09 10:14:57 +02:00
2022-10-01 21:05:32 +01:00
2022-10-01 21:05:32 +01:00
2022-10-01 21:05:32 +01:00
2022-10-01 21:05:32 +01:00
2022-09-06 00:27:09 +02:00
2022-10-31 14:12:44 +00:00
2022-11-05 18:54:39 +01:00
2022-10-09 10:14:57 +02:00
2022-10-01 21:05:32 +01:00
2022-09-21 21:12:24 +01:00
2022-09-06 00:27:09 +02:00