Reflection Alternative

Kent Boogaart kentcb at internode.on.net
Fri Sep 15 04:39:55 PDT 2006


Hi All,

D doesn't support reflection does it? I can't, for example, create an 
instance of a type based on its name?

I'm just trying to think how I would read a file containing a map and create 
instances of types based on what is in that file. I'd basically have to 
correlate codes with types and hard-code the creation of those types, yes?

Thanks,
Kent 





More information about the Digitalmars-d-learn mailing list