Images 💾

Last commit ⭐

commit 4296425bd8f2212e70167118e5a76c4922565080
Author:     Daniel Bertalan <>
AuthorDate: Fri Oct 21 15:53:20 2022 +0200
Commit:     Andrew Kaster <>
CommitDate: Sun Nov 6 10:25:08 2022 -0700

    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.