Is it possible to tell if two objects represented by TypeInfo's are convertible to each other?

Basically, is there a built in way to do this?

int x;
long y;
assert(typeid(x).isImplicitlyConvertibleTo(typeid(y));

   Thanks

Reply via email to