[libcxx-commits] [libcxx] [libc++] Implement ranges::iota (PR #68494)

James E T Smith via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 26 11:31:17 PDT 2024


================
@@ -1180,8 +1198,8 @@ struct Proxy {
   // Calling swap(Proxy<T>{}, Proxy<T>{}) would fail (pass prvalues)
 
   // Compare operators are defined for the convenience of the tests
-  friend constexpr bool operator==(const Proxy&, const Proxy&)
-    requires (std::equality_comparable<T> && !std::is_reference_v<T>)
+  friend constexpr bool operator==(const Proxy& lhs, const Proxy& rhs)
----------------
jamesETsmith wrote:

I'll just remove them

https://github.com/llvm/llvm-project/pull/68494


More information about the libcxx-commits mailing list