[libcxx] [flang] [libunwind] [libc] [llvm] [lldb] [clang-tools-extra] [compiler-rt] [clang] [libc++] Implement ranges::iota (PR #68494)
Christopher Di Bella via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 5 14:16:06 PST 2024
================
@@ -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
More information about the cfe-commits
mailing list