(It's also undocumented?) There should be a way to obtain that info without using the typeid, otherwise typeid cannot be implemented as a library.
This blocks https://github.com/dlang/druntime/pull/3174.
Comment #1 by destructionator — 2020-08-10T01:41:57Z
Can't you use __traits(all/getMembers) to get this?
....though I don't know exactly what offTi is supposed to be anyway.
Comment #2 by bugzilla — 2020-08-10T22:19:58Z
The compiler implements it as always a null array:
// offTi[]
dtb.size(0);
dtb.size(0); // null for now, fix later
I guess it never was fixed, was never needed, and I forgot what use it was intended for.
Comment #3 by andrei — 2020-08-11T17:57:20Z
Great, thanks for the info.
Comment #4 by robert.schadek — 2024-12-13T19:10:46Z