by drivebyops · 7y ago · 0 comments
Did you mean ad-hoc polymorphism?
You specify a type parameter, and then statically write out that it has to adhere to a certain interface/trait. This analysis is done at compile time, not runtime as with virtual dispatch.