Is it possible to store properties via opDispatch using tuples?
bearophile
bearophileHUGS at lycos.com
Thu Jan 16 14:31:00 PST 2014
Gary Willoughby:
> Yes exactly but i would like to preserve the types of
> differently typed properties so i can cast them back on
> retrieval.
A Variant needs to keep the type of the value you have stored in,
look at the Variant documentation. (But the usual limitations of
a ahead-of-time compiled statically typed language apply.)
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list