mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-29 13:45:01 +01:00
This is one of the nicer improvements to boiler-plate as we benefit from concepts simplifying the constraints on the templates, defaulted `!=` finding `==`, and the `<=>` operator for a single definition of all relational operators. I've checked and the `!=` usages do seem to be effective at finding the `==` definitions, but we still need both the RHS- and LHS-based overloads of `==` as far as I can tell. --------- Co-authored-by: Jon Ross-Perkins <jperkins@google.com>