On 12/18/10 1:16 PM, spir wrote:
But I could not find a way to do that, instead get weird error messages like eg 
'int' is not a value (so, what else?).
It is a type, and as such a compile-time entity rather than a runtime value. You might want to have a look at »typeid()« though, which returns runtime type information.

Is there a reason why something like std.variant doesn't fit the bill?

David

Reply via email to