Like getClass()

bearophile bearophileHUGS at lycos.com
Sat Sep 27 18:03:56 PDT 2008


Sergey Gromov:
> I'd say it's a bug.  Classinfo is for runtime class, and runtime class 
> can never be an interface.

It seems all my questions in this newsgroup end with the discovery of another possible (and often real) bug ;-]

If it's not a bug, then I think a nicer syntax may be appreciable. In such thing Java may show some better syntax (well, better method name essentially, so better API and not really better syntax).

Bye and thank you,
bearophile


More information about the Digitalmars-d-learn mailing list