In Swift Is it actually impossible to know how many items a tuple TYPE (not instance), has? I just want, given some tuple type T (like (A, B, C)), to do tupleLength(T.self) and have it return the right number. Again, not an instance like (1,2,3), the type. It seems parameter packs almost let you do this but not completely. I can't believe this isn't possible.
=> More informations about this toot | View the thread | More toots from tolmasky@mastodon.social
text/gemini
This content has been proxied by September (ba2dc).