eq method on tuples #3765
dullbananas
started this conversation in
Ideas
Replies: 1 comment
-
Duplicate of #3723 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(a1, b1).eq((a2, b2))
would be much cleaner thana1.eq(a2).and(b1.eq(b2))
.More importantly, this would also allow using the type
dsl::Eq<(a1, b1), (a2, b2)>
instead ofdsl::And<dsl::Eq<a1, a2>, dsl::Eq<b1, b2>>
.Beta Was this translation helpful? Give feedback.
All reactions