View mode: basic / threaded / horizontal-split · Log in · Help
June 18, 2011
TypeInfo problem
Let's say I have 2 value only accessible through function pointers taking a 
variant parameter.
(they will throw on incorrect value, but I'd rather avoid that).
I also know the TypeInfo of both variables.
How could I know that a given TypeInfo is a valid value for another 

In other words I'd like to write a method like
bool isAcceptable(TypeInfo srcValueType, TypeInfo dstType) {  /* ?? */ }
Top | Discussion index | About this forum | D home