Advantages of (T, T, T, T, ..., T_N) over [T; N]
#12
Closed
LucaCappelletti94
started this conversation in
General
Replies: 1 comment
-
|
There's no advantage; it's just that sometimes you might get a tuple instead of an array. And not |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am working on an analogous crate which tries to provide some similar methods but for heterogeneous tuples. I notices that most traits in this crate are solely defined for homogeneous tuples.
I wanted to ask what are the advantages, if any, of using a tuple
(T, T, T, T, ...T_N)in such cases over an array[T; N].Thank you and have a great week,
Luca
Beta Was this translation helpful? Give feedback.
All reactions