================ @@ -1161,9 +1185,11 @@ struct Proxy { return lhs.data == rhs.data; } - friend constexpr auto operator<=>(const Proxy&, const Proxy&) - requires (std::three_way_comparable<T> && !std::is_reference_v<T>) - = default; + friend constexpr auto operator<=>(const Proxy& lhs, const Proxy& rhs) + requires(std::three_way_comparable<T> && !std::is_reference_v<T>) + { + return lhs.data <=> rhs.data; + }; ---------------- cjdb wrote:
What is the intention of this change? https://github.com/llvm/llvm-project/pull/68494 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits