https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107652
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Why do you think so? MSVC doesn't implement (at least according to https://en.cppreference.com/w/cpp/compiler_support ) P2468R2 - The Equality Operator You Are Looking For, while GCC and clang trunks do. The paper has been accepted as DR, so it changes behavior of not just C++23, but also C++20 in this case. See https://wg21.link/p2468r2 for more details.