Integer generics have to be known (and currently, literal) at compile-time. There was a sequence of pitches to lift the "literal" restriction: [Pitch #3] Swift Compile-Time Values
2 Likes
Integer generics have to be known (and currently, literal) at compile-time. There was a sequence of pitches to lift the "literal" restriction: [Pitch #3] Swift Compile-Time Values