Creating Structs/Classes at runtime?

bearophile bearophileHUGS at lycos.com
Mon Feb 18 04:28:21 PST 2013


Brian Brady:

> After much googling, I thought I found something on RosettaCode 
> that would do what I wanted 
> (http://rosettacode.org/wiki/Add_a_variable_to_a_class_instance_at_runtime#D)
> but when I try to use it, it doesn't work. (Its actually adding 
> to a class, which may be better than a struct in this instance, 
> but regardless, it doesn't work)

Since some time I am maintaining most of the D code on 
Rosettacode. What's broken in that program? "it doesn't work" is 
too much vague.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list