hey,
i just wanted to find the size of an overloaded function and got trapped in callback land...
i can't see what it's asking for and google isn't helping... thanks in advanceCode:#include<iostream> using namespace std; void f(int,int,double); void f(int,int); int main(void) { void (*p)(int,int,double); p = f; cout << sizeof(p) << endl; } void f(int i,int j, double k){ cout << "test0" << endl; }
n




Reply With Quote