Is it possible to have a type say:
struct A{B}
field::NTuple{N, Int}
end
Say B is always a number so A{5}, A{7} and so on.
Is it possible to specify in the type definition that N depends on B, in some manner e.g:
struct A{B}
field::NTuple{(B / 64), UInt64}
end
The above doesn’t work, but hopefully shows what I’d like to enforce.