InstanceOf Template during runtime in a variant

Dicebot public at dicebot.lv
Mon Feb 3 10:58:32 PST 2014


No. Variant only stores TypeInfo for its current data and 
templated struct will have a totally different type for each set 
of template arguments. Their similarity exists only during 
compile-time.


More information about the Digitalmars-d-learn mailing list