typeid argument in runtime

closed account (j6v0pfjN)

Hi All,
I need to get the method return type .
So i'm using the RTTI typeid() method.So i need to pass the methodname as argument.
But i want to give tat value in runtime.
How to store tat value in a variable and give tat variable
Ex:

typeid( method1() ).name();
typeid( method2() ).name();

instead i need to store method1 and method2 in a variable and pass tat to typeid

Regards,
Kamatchi
Topic archived. No new replies allowed.