Runtime reflection

Jascha Wetzel firstname at mainia.de
Tue Sep 18 08:01:47 PDT 2007


Here is a simple way of adding __traits based runtime reflection to D 
classes:

http://mainia.de/classinfoex.d
(requires DMD 2.004)

It does not increase the class instance size.
All extra info is stored statically.

See the doc-comment for details.



More information about the Digitalmars-d-announce mailing list