What is the cited problem with using generic type parameters in trait objects?
问题 I am reading Object Safety Is Required for Trait Objects and I don't understand the problem with generic type parameters. The same is true of generic type parameters that are filled in with concrete type parameters when the trait is used: the concrete types become part of the type that implements the trait. When the type is forgotten through the use of a trait object, there is no way to know what types to fill in the generic type parameters with. I am trying to code an example but I can't