Get type of a pointer to member
Hi all,
can someone tell me if there is a better way than the following to get the type of a pointer to member:
1 2 3 4 5 6 7 8 9 10
|
class A
{
public:
void foo()
{
}
};
typeof(&A::foo);
| |
Thanks in advance.
Bye!
@Tarch
as for as i know, there is only way to know type of object,
it is function typeof();
I think your approach is right to get type
@Tarch
as for as i know, there is only way to know type of object,
it is function typeof();
I think your approach is right to get type
Ok,
thank you very much.
Bye!
Topic archived. No new replies allowed.