There's the RTInfo method I told you about (recently added) if you want to stick the information directly into TypeInfo at compile time.

There's also static ctors. Just add a hashtable based on the class name, and use typeid(this).name as the initial key. You have to handle all the inheritance of properties yourself, but that shouldn't be too difficult.

-Steve

Ooh... how do I get RTInfo? It's not in druntime/phobos....

Reply via email to