On 2014-01-17 18:49, H. S. Teoh wrote:
Now I'm not sure if Variant allows assignment to a static type, but in theory this should be possible:// assume d.abc returns a Variant int x = d.abc; // will assert if d.abc doesn't hold an int at runtime
It doesn't work. Variant doesn't retain the static type, which is needed in this case.
-- /Jacob Carlborg