TypeInfo: how much breakage?

Johan j at j.nl
Wed Jul 29 21:33:42 UTC 2020


On Wednesday, 29 July 2020 at 21:00:50 UTC, Andrei Alexandrescu 
wrote:
> The new TypeInfo design offers some interesting opportunities. 
> Some of them are possible if we break some of the existing 
> compatibility. The documented types are:
>
> TypeInfo: https://dlang.org/library/object/type_info.html
>
> TypeInfo_Class: 
> https://dlang.org/library/object/type_info__class.html
>
> I wonder to what extent people are using other undocumented 
> derivatives of TypeInfo such as TypeInfo_Struct.

Weka does not appear to use any. (only TypeInfo_Class in one 
instance, but only copying it, not accessing the members)

-Johan




More information about the Digitalmars-d mailing list