for example this works:
if ( typeid( int) == typeid( int) ) //...
how to do the same with function signatures?
if (typeid (void (*)(void) ) == typeid( void(*)(void) ) //that of course dosn't work
how do we check thos two for signature?
void f(int);
int x(double);
Use
typeid(foo).name().For instance :
if ( typeid(func1).name() == typeid(func2).name() )//do stuffoutput: