Can you use RTTI to determine a union member?

Janice Caron caron800 at googlemail.com
Tue Oct 16 08:51:55 PDT 2007


On 10/16/07, Christian Kamm <kamm.incasoftware at shift-at-left-and-remove-this.de
> If A, B, C are classes, you could also check with
>
> u.a.classinfo is A.classinfo
> u.a.classinfo is B.classinfo
> u.a.classinfo is C.classinfo.

That's really cool, but I can't find any documentation on .classinfo.
I looked on the DigitalMars site in the pages "Classes", "Expressions"
and "Properties", and after that I got stuck. Where is this
documented?



More information about the Digitalmars-d mailing list