Open noriapi opened 3 years ago
Wish we could use const-generics for indexing into a tuple.
The main question I can think of is how many tuple positions should we support?
Wish we could use const-generics for indexing into a tuple.
Yes, I agree.
The main question I can think of is how many tuple positions should we support?
Std common traits (like Debug PartialEq Clone...) are only implemented on tuples of arity 12 or less. So, I think 12 would be enough.
Something like this.