[libcxx-commits] [libcxx] [libc++] Implement ranges::iota (PR #68494)
nicole mazzuca via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jul 25 10:09:39 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)
----------------
strega-nil wrote:
Is there a reason you added names to these parameters?
https://github.com/llvm/llvm-project/pull/68494
More information about the libcxx-commits
mailing list