Questions tagged [type-erasure]
In Java, type erasure is the process where the compiler removes all information related to type parameters and type arguments within a class or method when a generic type is instantiated. In C++ type erasure refers to a technique for hiding some or all of the type information regarding a class.