3 ms·
You can constrain a generic, so no. Generics don't mean "any type", they mean "type argument". As such, you can say "only type arguments that implement X" or s
by mexicocitinluez 1y ago
You can constrain a generic, so no.
Generics don't mean "any type", they mean "type argument". As such, you can say "only type arguments that implement X" or similar.