Does Nim have the ability to constrain a generic type to be of a certain size? For example, can I create MyObject[T] where T is any type that is 4 Bytes?
- generic type constraint to size dwhall256
- generic type constraint to size doongjohn
Does Nim have the ability to constrain a generic type to be of a certain size? For example, can I create MyObject[T] where T is any type that is 4 Bytes?