https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119714
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- https://en.cppreference.com/w/cpp/utility/expected/operator_cmp This mentions that it is invalid for C++23 but would be valid for C++26. Looks like we have not implemented the 26 rules either.