Is it possible to store properties via opDispatch using tuples?
Jacob Carlborg
doob at me.com
Thu Jan 16 23:54:12 PST 2014
On 2014-01-16 23:31, bearophile wrote:
> 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.)
A Varian won't work, since it only stores a TypeInfo, not the static
type. But perhaps that's what you're saying.
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list