Thread overview | |||||
---|---|---|---|---|---|
|
July 29, 2020 TypeInfo: how much breakage? | ||||
---|---|---|---|---|
| ||||
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. |
July 29, 2020 Re: TypeInfo: how much breakage? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | 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
|
July 29, 2020 Re: TypeInfo: how much breakage? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Johan | On 7/29/20 5:33 PM, Johan wrote:
> 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)
Thank you!
|
Copyright © 1999-2021 by the D Language Foundation