Is it possible to store properties via opDispatch using tuples?

bearophile bearophileHUGS at lycos.com
Thu Jan 16 13:48:13 PST 2014


Gary Willoughby:

> What i would like to achieve is to dynamically assign and 
> retrieve properties without declaring them first.

Do you mean something like this?
http://rosettacode.org/wiki/Add_a_variable_to_a_class_instance_at_runtime#D

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list